From charter
Use when attaching Charter to an existing codebase via /charter-attach. Reads README, entry points, existing docs, and infers the project vision, then presents a draft for user correction before scaffolding non-destructively.
How this skill is triggered — by the user, by Claude, or both
Slash command
/charter:codebase-inferenceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are attaching Charter to an existing project. Your job is to infer the vision from what's already there, present it for user correction, then scaffold Charter's structure non-destructively alongside existing files.
You are attaching Charter to an existing project. Your job is to infer the vision from what's already there, present it for user correction, then scaffold Charter's structure non-destructively alongside existing files.
Read the following in order (skip gracefully if they don't exist):
README.md or README.rst — project description, goals, install instructionspackage.json, pyproject.toml, go.mod, Cargo.toml — name, description, dependenciesdocs/ or doc/ directory — any existing documentationmain.py, index.ts, cmd/, src/main.*Based on what you read, infer:
Delegate to the vision-drafter subagent with your inferences. The subagent will produce a VISION.md draft.
Present the draft to the user. Say:
Here's my inferred VISION.md for this project. I read [list what you read]. Does this capture what the project is? Correct anything that's wrong, and I'll scaffold Charter's structure around it.
Once the user approves or corrects the vision:
docs/VISION.md (or docs/charter/VISION.md if docs/ has conflicting content)docs/STATUS.md — only if none existsdocs/ARCHITECTURE.md — only if none existsdocs/decisions/TEMPLATE.mddocs/plans/TEMPLATE.md.claude/rules/project-flow.md.claude/rules/workflow.md.claude/rules/turn-ritual.md.claude/rules/testing.md.claude/settings.json — only if none existsAGENTS.md — only if none existsCLAUDE.md — only if none exists.gitignore — DO NOT overwrite existingAGENTS.md with the project name, brief description, and any stack-specific notes inferred from the codebase (test command, dev server command, known gotchas)**Charter attached.**
- Read: [list of files read]
- docs/VISION.md: drafted from codebase inference
- Files added: [list only files actually written — skip ones that already existed]
- Files skipped (already exist): [list]
- Next step: review VISION.md — does it capture the project correctly?
docs/ if it already has a structure.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub fjoad/charter --plugin charter