activememory/ctx/ctx-convention-add
Claude Code and agent skill by activememory/ctx
- community
Checking that the SKILL.md file is still in the repository.
Record a coding convention. Use when a repeated pattern should be codified so all sessions follow it consistently.
Install
npx vskill@latest install activememory/ctx/ctx-convention-addSKILL.md
Record a coding convention in CONVENTIONS.md.
When to Use
- When a pattern has been used 2-3 times and should be standardized
- When establishing a naming, formatting, or structural rule
- When a new contributor would need to know "how we do things here"
- When the user says "codify that" or "make that a convention"
When NOT to Use
- One-off implementation details (use code comments instead)
- Architectural decisions with trade-offs (use
/ctx-decision-add) - Debugging insights or gotchas (use
/ctx-learning-add) - Rules that are already enforced by linters or formatters
Gathering Information
Conventions are simpler than decisions or learnings. You need:
- Name: What is the convention called? (e.g., "kebab-case CLI flags")
- Rule: What is the rule? One clear sentence.
- Section: Where does it belong in CONVENTIONS.md? (e.g., "Naming",
"Output", "Testing")
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.
If the convention overlaps with an existing one, mention it: "There's already a naming convention for functions. Want me to add this alongside it or update the existing one?"
Execution
If no --section is provided, the convention is appended to the end of the file. Prefer specifying a section for organization.
Authority boundary (vs other skills)
This skill records standardized patterns the project follows. It does not unilaterally promote material from adjacent skills:
- Do not promote a one-off choice into a convention. A single
decision with rationale is /ctx-decision-add's territory; a convention requires the pattern to recur and warrant codifying. Ask before generalizing.
- Do not promote a learning into a convention. "Always do X
going forward" is a convention; "we got bitten by Y" is a learning. The user must explicitly say "codify that" before the cross-promotion happens.
- Do not duplicate. If a similar rule already exists, surface
it and ask whether to update or add alongside.
Light compression for clarity is allowed; new facts are not.
Quality Checklist
Before recording, verify:
- [ ] The rule is clear enough that someone unfamiliar could follow it
- [ ] It is specific to this project (not a general Go/JS/etc. rule)
- [ ] It is not already in CONVENTIONS.md (check first)
- [ ] The section matches an existing section, or a new section is
genuinely needed
- [ ] It describes a pattern, not a one-time choice (that's a decision)
Confirm the convention was added.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/assets/claude/skills/ctx-convention-add/SKILL.md
Popularity
- Repository stars
- 69
- Repository forks
- 12
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/activememory/ctx/ctx-convention-add)