Help us improve
Share bugs, ideas, or general feedback.
Restructures oversized single-file Skills or scattered project rules into a well-organized Skill directory with progressive rigor tiers.
npx claudepluginhub wojisama/skill-based-architecture --plugin skill-based-architectureHow this skill is triggered — by the user, by Claude, or both
Slash command
/skill-based-architecture:skill-based-architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Restructure oversized single-file Skills or scattered project rules into a well-organized Skill directory. Builds on the official minimal Agent Skill contract (`name` + `description`) and kicks in when a single small `SKILL.md` is no longer enough.
Creates, audits, and consolidates Claude Code agent skills following the Agent Skills open standard. Interviews for intent, scope, and edge cases before drafting.
Creates and refines SKILL.md files with better trigger descriptions, progressive disclosure, and testable behavior. Audits collections for redundancy and evaluates trigger quality.
Design and iterate Claude Code skills: SKILL.md structure, description formulas, content architecture, and quality evaluation. Invoke whenever task involves any interaction with Claude Code skills — creating, reviewing, evaluating, debugging, or improving skills.
Share bugs, ideas, or general feedback.
Restructure oversized single-file Skills or scattered project rules into a well-organized Skill directory. Builds on the official minimal Agent Skill contract (name + description) and kicks in when a single small SKILL.md is no longer enough.
AGENTS.md, CLAUDE.md, CODEX.md, .cursor/rules/, .claude/, etc.Grow only under pressure. Tiers: Single-file (SKILL.md only, < 3 topics) → Folder-light (+ rules/, 3–5 topics or 1 recurring workflow) → Full (+ workflows/ + references/ + thin shells; ≥ 3 routed tasks, gotcha log, or multi-harness repo). Upgrade triggers: SKILL.md body > 90 lines or description > 25 lines, same pitfall surfaces twice, a task needs step-by-step instructions, or two harnesses share routing. Downgrade when content shrinks. Details: references/progressive-rigor.md.
skills/<name>/
├── SKILL.md # dual budget (description ≤ 25 + body ≤ 90 lines): always-read list, task routing, priority
├── rules/ # Long-lived constraints (what is always true)
├── workflows/ # Step-by-step procedures (how to do a task)
├── references/ # Background: architecture, pitfalls, indexes
│ └── gotchas.md # Recommended: known gotchas / footguns (most valuable reference)
└── docs/ # Optional: prompts, reports, external-facing material
Root entries (AGENTS.md, CLAUDE.md, CODEX.md, GEMINI.md, .cursor/rules/*.mdc) → thin shells with a routing.yaml bootstrap, not duplicated route tables.
.cursor/skills/<name>/SKILL.md → Cursor registration entry (required for discovery). See REFERENCE.md for templates.
SKILL.md keeps a dual budget: description ≤ 25 lines (trigger phrases + activation) + body ≤ 90 lines (navigation). It navigates, not exhausts. ✓ Check: smoke-test reports both separately; over either → split intent clusters / move detail to sub-files.skills/<name>/, not scattered at repo root. ✓ Check: ls *.md at root shows only thin shells, not rule/workflow files.rules/ for constraints, workflows/ for procedures. ✓ Check: any numbered steps in rules/? Any "always/never" in workflows/? Either = mixing.routing.yaml; shells only say how to read it. ✓ Check: route changed without running sync/check? No → drift risk..cursor/skills/<name>/SKILL.md must exist. ✓ Check: ls .cursor/skills/ — missing = Cursor cannot discover the skill.references/?references/ alone is not "captured"; must also be on the task path. ✓ Check: trace normal route for this scenario — Agent hits the entry without hunting? No → stored, not activated.skills/<name>/ but no .cursor/skills/<name>/SKILL.md → Cursor never discovers the skill; all rules/workflows silently ignoredrouting.yaml bootstrap → instruction lost after context summarization in long conversationsreferences/ but not surfaced in any workflow checklist or SKILL.md routing → future agents still miss it/clear or /compact silently drops SKILL.md from context; agent loses all routing and protocol awareness without the user noticing → install SessionStart hook if your harness supports it (see references/thin-shells.md § SessionStart Hook)templates/protocol-blocks/reboot-check.md before final validation/commit if original constraints are no longer fresh| Content type | Target |
|---|---|
| Stable constraints, must-follow rules | rules/ |
| Step-by-step task procedures | workflows/ |
| Architecture, pitfalls, source indexes | references/ |
| Known gotchas, footguns, edge cases | references/gotchas.md (or domain-specific pitfall files) |
| Prompts, reports, external docs | docs/ |
| Editor/tool-specific config | .cursor/ / .claude/ (thin shells) |
Multi-skill repos — see references/multi-skill-routing.md (operating + fission + coexistence). For invoking other skills from your workflows (embedded / serial / subagent delegation), see references/skill-composition.md + starter templates/skill/workflows/invoke-skill.md.example.