jhlee0409/all-for-claudecode/principles

Claude Code and agent skill by jhlee0409/all-for-claudecode

Trust tier 3
  • community
Source check pending

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/principles

Semi-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 principle
  • remove {number}: remove a principle
  • init: 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 init instructions)
2. Action Branch
A. View (no arguments)

Display current principles list:

Project Principles
├─ MUST-001: {principle}
├─ MUST-002: {principle}
├─ SHOULD-001: {principle}
└─ Last updated: {date}
B. Initial Setup (init)

Collect principles interactively:

  1. Analyze project context (CLAUDE.md, package.json, code structure)
  2. Suggest automatically extractable principles:
  • Comply with {config.architecture} rules
  • Follow {config.code_style}
  • Zero lint warnings (per {config.ci})
  • etc.
  1. Ask user for additional principles (AskUserQuestion)
  2. Structure collected principles
C. Add (add)
  1. Determine strength of the new principle (MUST / SHOULD / MAY)
  2. Add to principles.md
  3. Update version
D. Remove (remove)
  1. Confirm the principle
  2. Remove after user confirmation
  3. Update version (MAJOR)
3. Storage Format
markdown
# Project Principles
> Version: {MAJOR.MINOR.PATCH}
> Last Updated: {YYYY-MM-DD}
## MUST (non-negotiable)
-**MUST-001**: {principle} — {rationale}
-**MUST-002**: {principle} — {rationale}
## SHOULD (strongly recommended)
-**SHOULD-001**: {principle} — {rationale}
## MAY (optional)
-**MAY-001**: {principle} — {rationale}
## Changelog
-{date}: {change description}
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.md to 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jhlee0409/all-for-claudecode/principles/badge)](https://verified-skill.com/skills/jhlee0409/all-for-claudecode/principles)

Something wrong with this skill or its page? Tell us.