polaris
CLAUDE.md4 starsChanged 3 months agoMITView on GitHub
This is a skills/agents/workflows repository for Claude Code. It gets installed into other projects via install.sh. You are working on the repo itself, not a consumer project. docs/plans/ and docs/verification/ are Polaris's own working artifacts, not shipped content: Both are intentionally tracked as project history — keep them. They are never installed into consumer projects.
In this repository53 other files it gives its agents.
- llms.txtllms.txt
- actionableSkill
- astro-bootstrapSkill
- astro-patternsSkill
- autopilotSkill
- axon-code-intelSkill
- brainstormingSkill
- commit-conventionsSkill
- cross-repo-contextSkill
- django-bootstrapSkill
- django-patternsSkill
- executeSkill
- find-sessionSkill
- flutter-bootstrapSkill
- flutter-patternsSkill
- full-featureSkill
- intelSkill
- nextjs-bootstrapSkill
- nextjs-fullstack-bootstrapSkill
- nextjs-fullstack-patternsSkill
- nextjs-mui-bootstrapSkill
- nextjs-patternsSkill
- nextjs-shadcn-bootstrapSkill
- orchestratorSkill
- phase-breakdownSkill
- plan-and-scopeSkill
- prdSkill
- reactSkill
- recallSkill
- reflectSkill
- relaySkill
- rememberSkill
- scaffoldSkill
- scratchSkill
- tailwindSkill
- ux-specSkill
- ux-to-promptsSkill
- verify-astroSkill
- verify-djangoSkill
- verify-flutterSkill
- verify-nextjs-fullstackSkill
- verify-nextjs-muiSkill
- verify-nextjs-shadcnSkill
- verify-nextjsSkill
- verifySkill
- visual-feedbackSkill
- work-disciplineSkill
- worktreesSkill
- wrapSkill
- write-as-friendSkill
- write-as-humanSkill
- writing-clearlySkill
- writing-skillsSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
13 rules. About 0 are common, 5 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Keep auto-triggering skills concise.
- Very specific: line 47
Create skills/<name>/SKILL.md with frontmatter: name (matches the directory), description (third-person trigger description), optional …
- Very specific: line 48
Add the bare skill name to relevant profiles in profiles/*.txt
- Very specific: line 49
If it's heavy reference material (100+ lines), set disable-model-invocation: true so it's /name-only
- Distinctive: line 50
If adapted from external source, add to README.md attribution table
- Very specific: line 51
Follow the patterns in the /writing-skills skill (skills/writing-skills/SKILL.md) for structure guidance
- Very specific: line 55
Create profiles/<name>.txt with metadata headers:
- Very specific: line 63
Create a companion profiles/<name>.claude.md snippet with {directory} placeholder
- Distinctive: line 64
Add to README.md profiles table
- Very specific: line 70
Test install changes with --dry-run before running live
- Very specific: line 74
Don't add runtime code outside hooks/ — skills, agents, and workflows stay pure markdown.
- Distinctive: line 78
Don't create skills that depend on other skills being loaded (self-contained)
- Distinctive: line 79
Don't put project-specific context in skills — keep them generic/reusable
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Polaris repo
This is a skills/agents/workflows repository for Claude Code. It gets installed into other projects via install.sh. You are working on the repo itself, not a consumer project.
Structure
skills/ Native Agent Skills — one directory per skill: skills/<name>/SKILL.md
Frontmatter drives behavior: auto-trigger (description, optional
paths globs) or command-only (disable-model-invocation: true → /<name>)
misc/ Project-specific skills (flat .md, not in any profile — e.g. vfx.md)
agents/ Role definitions (planner, executor, reviewer, integrator)
templates/ Fillable templates (integration summaries)
context/ Context scaffold templates (ROUTER, decisions, conventions, patterns)
profiles/ .txt manifests + .claude.md snippets per stack
_multi-stack.txt Auto-added items for multi-stack installs
*.claude.md CLAUDE.md context snippets (one per stack, uses {directory} placeholder)
hooks/ Optional, opt-in session guardrails (the one place we ship code)
scripts/ POSIX-friendly shell hooks run by Claude Code at lifecycle events
*.json Profile fragments merged into a project's .claude/settings.json
install.sh Copies files into ~/.claude/ (global) or .claude/ (project)
context-pull.sh Extracts Django backend context for frontend sessionsWorking artifacts (docs/)
docs/plans/ and docs/verification/ are Polaris's own working artifacts, not shipped content:
docs/plans/— phased plans for work on this repo (e.g. review-fix runs). The planner//executeflow reads these.docs/verification/— verification reports the reviewer//verifyflow writes when checking those phases.
Both are intentionally tracked as project history — keep them. They are never installed into consumer projects.
Conventions
- Skills are markdown (SKILL.md + YAML frontmatter) — no code execution, just instructions for Claude
- Each skill should be self-contained: readable without needing other files
- Keep auto-triggering skills concise. Token cost matters — they load into context when they fire
- Heavy reference docs set
disable-model-invocation: truein frontmatter so they only load when invoked as/<name>— never auto-trigger a 500-line reference - Profile lines: bare
name= theskills/<name>/directory; literal paths (agents/…,templates/…) are copied as-is - External/adapted skills: note source attribution in README.md table
install.shcopies (not symlinks) so consumer projects are independent- Checksum comparison detects stale installs — don't change file semantics without considering downstream staleness
Adding a new skill
- Create
skills/<name>/SKILL.mdwith frontmatter:name(matches the directory),description(third-person trigger description), optionalpathsglobs for file-scoped auto-triggering - Add the bare skill name to relevant profiles in
profiles/*.txt - If it's heavy reference material (100+ lines), set
disable-model-invocation: trueso it's/name-only - If adapted from external source, add to README.md attribution table
- Follow the patterns in the
/writing-skillsskill (skills/writing-skills/SKILL.md) for structure guidance
Adding a new stack profile
- Create
profiles/<name>.txtwith metadata headers:# stack: backend|frontend # label: Display Name # directory: default-dir - List files (relative to repo root), one per line
- Comments with
#, blank lines ignored - Create a companion
profiles/<name>.claude.mdsnippet with{directory}placeholder - Add to README.md profiles table
Shell scripts
install.shandcontext-pull.shuseset -euo pipefailcontext-pull.shis Django-specific by design (patterns target serializers/views/models)- Test install changes with
--dry-runbefore running live
What NOT to do
- Don't add runtime code outside
hooks/— skills, agents, and workflows stay pure markdown. The one sanctioned exception ishooks/(opt-in shell guardrails Claude Code executes at lifecycle events); keep it POSIX-friendly, non-blocking, and never auto-installed byglobal/project - Don't create skills that depend on other skills being loaded (self-contained)
- Don't put project-specific context in skills — keep them generic/reusable
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

