jhlee0409/all-for-claudecode/principles
Claude Code and agent skill by jhlee0409/all-for-claudecode
- community
Checking that the SKILL.md file is still in the repository.
Manage project coding principles and conventions
Install
npx vskill@latest install jhlee0409/all-for-claudecode/principlesSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as jhlee0409/all-for-claudecode/principles.
/afc:principles — Manage Project Principles
Creates and manages the project's core principles (constitution).Stored in .claude/afc/memory/principles.md and referenced across all sessions.
Arguments
$ARGUMENTS— (optional) action directive:- not specified: view current principles
add {principle}: add a new principleremove {number}: remove a principleinit: interactive initial setup
Project Config (auto-loaded)
!cat .claude/afc.config.md 2>/dev/null || echo "[CONFIG NOT FOUND] .claude/afc.config.md not found. Create it with /afc:init."
Execution Steps
1. Check Current State
Read .claude/afc/memory/principles.md:
- If present: load existing principles
- If absent: empty state (show
initinstructions)
2. Action Branch
A. View (no arguments)
Display current principles list:
B. Initial Setup (init)
Collect principles interactively:
- Analyze project context (CLAUDE.md, package.json, code structure)
- Suggest automatically extractable principles:
- Comply with {config.architecture} rules
- Follow {config.code_style}
- Zero lint warnings (per {config.ci})
- etc.
- Ask user for additional principles (AskUserQuestion)
- Structure collected principles
C. Add (add)
- Determine strength of the new principle (MUST / SHOULD / MAY)
- Add to principles.md
- Update version
D. Remove (remove)
- Confirm the principle
- Remove after user confirmation
- Update version (MAJOR)
3. Storage Format
4. Versioning Rules
- MAJOR: MUST principle added, removed, or redefined
- MINOR: SHOULD/MAY principle added, MUST principle clarified
- PATCH: Typo fix, rationale elaboration
Notes
- Persistent storage: Saved to .claude/afc/memory/principles.md and maintained across sessions.
- Auto-referenced: Automatically loaded and validated by /afc:plan and /afc:architect.
- Keep it concise: Keep principles concise and actionable. If the list grows long enough that principles start overlapping or becoming too granular, suggest consolidation. The goal is a set of principles that can be held in working memory — typically under 15, but the right number depends on the project's complexity.
- Verify after change: After adding or removing a principle, re-read
principles.mdto confirm the version was bumped correctly and no formatting issues were introduced. - Avoid duplication with CLAUDE.md: Do not re-register rules already present in CLAUDE.md as principles.
Security
- Security scanPassed, 90 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 repositoryCheckingskills/principles/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
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/jhlee0409/all-for-claudecode/principles)