Ctx add convention

From ActiveMemory/ctx · View interactive version

Ctx add convention is an AI agent skill from the GitHub repository ActiveMemory/ctx. Record a coding convention. Use when a repeated pattern should be codified so all sessions follow it consistently.

How to use this skill

Skill file

Record a coding convention in CONVENTIONS.md.

When to Use

When NOT to Use

Gathering Information

Conventions are simpler than decisions or learnings. You need:

  1. Name: What is the convention called?
  2. Rule: What is the rule? One clear sentence.
  3. Section: Where does it belong in CONVENTIONS.md?

If the user provides only a description, infer the section from the

topic. Check existing sections in CONVENTIONS.md first to place it

correctly: don't create a new section if an existing one fits.

Execution

ctx convention add "Use kebab-case for all CLI flag names" --section "Naming"

Quality Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.