MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Coldfusion-Cfm

Coldfusion-Cfm是一款code方向的AI技能,核心价值是ColdFusion cfm files and application patterns,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

ColdFusion cfm files and application patterns

Last verified on: 2026-05-30
mkdir -p ./skills/coldfusion-cfm && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/coldfusion-cfm/SKILL.md -o ./skills/coldfusion-cfm/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# ColdFusion Coding Standards


- Use CFScript where possible for cleaner syntax.

- Avoid using deprecated tags and functions.

- Follow consistent naming conventions for variables and components.

- Use `cfqueryparam` to prevent SQL injection.

- Escape CSS hash symbols inside <cfoutput> blocks using ##

- When using HTMX inside <cfoutput> blocks, escape hash symbols (#) by using double hashes (##) to prevent unintended variable interpolation.

- If you are in a HTMX target file then make sure the top line is: <cfsetting showDebugOutput = "false">


# Additional Best Practices


- Use `Application.cfc` for application settings and request handling.

- Organize code into reusable CFCs (components) for maintainability.

- Validate and sanitize all user input.

- Use `cftry`/`cfcatch` for error handling and logging.

- Avoid hardcoding credentials or sensitive data in source files.

- Use consistent indentation (2 spaces, as per global standards).

- Comment complex logic and document functions with purpose and parameters.

- Prefer `cfinclude` for shared templates, but avoid circular includes.


- Use ternary operators where possible

- Ensure consistent tab alignment.

🎯 Best For

  • Claude users
  • GitHub Copilot users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Coldfusion-Cfm to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is Coldfusion-Cfm compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Coldfusion-Cfm?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Coldfusion-Cfm?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/coldfusion-cfm/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills