imagile-dev/claude-plugins/principles

Claude Code and agent skill by imagile-dev/claude-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Write, sharpen and audit a principle-first CLAUDE.md so agents decide without asking. Use to set up CLAUDE.md, turn a correction into a principle, or trim a long one.

Install

npx vskill@latest install imagile-dev/claude-plugins/principles

SKILL.md

The same SKILL.md was published earlier as imagile-dev/claude-plugins/principles.

Principles

The principal track. A repo's CLAUDE.md sets a few core principles. Agents work autonomously inside them, and the human revisits what they decided later (the imagile:revisit skill). The better the principles, the fewer questions.

Mode 1: write

For a repo with no CLAUDE.md, or one that is a list of rules with no principles.

  1. Read what exists: CLAUDE.md, AGENTS.md, .github/copilot-instructions.md,

README, CI workflows, the project layout.

  1. Ask the user at most five questions, only about what the code can't answer:

who uses it, what must never break, what can't an agent do alone, the merge policy.

  1. Start from references/claude-md-template.md. Keep Imagile principles 1 to 9

unless the user rejects one. Add repo-specific principles from step 2.

  1. Fill in the Gate from the commands CI actually runs. Run each one locally to

prove it works.

  1. Move every task-specific rule into a repo skill (.claude/skills/<name>/), and

leave a one-line index entry.

  1. Create the AGENTS.md symlink (ln -s CLAUDE.md AGENTS.md) and an empty

AGENT_DECISIONS.md (format in imagile:revisit).

Mode 2: absorb a correction

When the user corrects an agent, or the revisit skill promotes a decision:

  1. Name the principle under the correction. If none exists, write one. If one

exists but didn't stop the mistake, sharpen its wording.

  1. Find every rule and skill that follows from it, and update all of them.
  2. If a check could catch this class of mistake, add the check (principle 2),

or file an agent-followup issue for it.

  1. Show the diff to the CLAUDE.md in chat, one line on why.

Mode 3: audit

Report, then fix with the user's OK:

  • More than about 12 principles, or a CLAUDE.md that runs past roughly 400 lines.

Move detail into skills.

  • Rules with no principle above them.
  • Principles that contradict each other or the repo's actual behavior, such as a

merge policy CLAUDE.md states but CI doesn't enforce.

  • More than 8 skills, or skills that overlap.
  • AGENT_DECISIONS.md with more than about 30 open entries. Run imagile:revisit.

Principles for writing principles

  • One sentence of rule, one of reason. The reason is what lets an agent apply it

to a case no one listed.

  • Positive and concrete: "Errors say what to do next", not "avoid bad errors".
  • A principle with an exception names the exception and who granted it, with the

date: "(the maintainer's call, 2026-10-19)".

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
3
7-day trend score
0

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/imagile-dev/claude-plugins/principles/badge)](https://verified-skill.com/skills/imagile-dev/claude-plugins/principles)

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