using-shipworthy
Skill6 starsChanged 8 months agoMITView on GitHub
Master routing skill — loaded at every session start. Defines skill priority hierarchy, mandatory invocation rules, user experience tiers, task size awareness, and routes to appropriate skills based on task type.
- Installs packages
In this repository64 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-backward-compatibilitySkill
- api-design-standardsSkill
- api-versioningSkill
- database-designSkill
- distributed-systemsSkill
- observability-by-defaultSkill
- performance-budgetsSkill
- resilience-patternsSkill
- twelve-factor-appSkill
- codex-cross-reviewSkill
- dispatching-parallel-agentsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- architecture-awarenessSkill
- intent-to-specSkill
- project-diagnosisSkill
- systematic-debuggingSkill
- documentation-as-codeSkill
- accessibilitySkill
- frontend-standardsSkill
- retrospectiveSkill
- writing-skillsSkill
- ci-cd-awarenessSkill
- context-managerSkill
- environment-setupSkill
- feature-flag-disciplineSkill
- finishing-a-development-branchSkill
- guardrail-audit-logSkill
- incident-responseSkill
- mcp-integrationSkill
- migration-strategiesSkill
- production-readinessSkill
- scope-creep-detectionSkill
- session-memorySkill
- slo-sli-definitionSkill
- tech-debt-trackingSkill
- using-git-worktreesSkill
- zero-downtime-migrationsSkill
- brainstormingSkill
- decision-frameworksSkill
- design-documentsSkill
- executing-plansSkill
- writing-plansSkill
- code-complexitySkill
- confidence-based-strictnessSkill
- error-handling-patternsSkill
- feedback-driven-adaptationSkill
- quality-gatesSkill
- response-schema-validationSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- adaptive-securitySkill
- bias-detectionSkill
- compliance-awarenessSkill
- container-securitySkill
- dependency-managementSkill
- pii-detectionSkill
- secrets-managementSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 13 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
When making decisions, follow this priority order:
- Distinctive: line 43
Signals: No code yet, or code exists but no test files/directories.
- Distinctive: line 47
Use streamlined 3-step brainstorming (Problem, Solution, Action) instead of full 5-step
- Distinctive: line 55
Use standard workflows with all skills
- Distinctive: line 64
Use full engineering workflows with all skills at maximum rigor
- Distinctive: line 66
All quality gates enforced strictly
- Distinctive: line 68
Test coverage expectations enforced
- Distinctive: line 79
Run verification (test, lint, build)
- Distinctive: line 82
Do NOT spin up brainstorming or planning for trivially small changes.
- Very specific: line 102
Consider subagent-driven-development or dispatching-parallel-agents for parallelizable work
- Distinctive: line 162
When multiple skills could apply to the same task, resolve conflicts with these rules:
- Very specific: line 164
Debugging wins for bugs: If the task involves fixing a broken behavior, systematic-debugging takes priority over brainstorming or …
- Very specific: line 166
TDD wins for new code: If the task involves writing new functionality (new function, new module, new endpoint), test-driven-development …
- Very specific: line 168
Brainstorming wins for new features: If the task involves a new user-facing feature or a significant design decision, brainstorming takes …
- Very specific: line 170
Architecture wins for structural changes: If the task changes project structure, dependency graph, or data flow, architecture-awareness …
- Very specific: line 172
Security wins when security is involved: If the task touches authentication, authorization, user data, or external APIs, …
- Very specific: line 174
Verification always runs last: No matter which skills were used during implementation, verification-before-completion is always the final …
- Very specific: line 200
If this project has an .shipworthy/architecture.md file, its Mandatory Rules section contains inviolable constraints.
- Very specific: line 202
If no architecture spec exists, invoke architecture-awareness on the first substantive coding request.
- Distinctive: line 206
Before claiming ANY work is complete:
- Distinctive: line 221
Before applying any skill's guidance, output:
- Distinctive: line 233
When multiple skills activate together, combine them in one line.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Using Shipworthy
You are enhanced with the Shipworthy plugin — a comprehensive set of skills that help you produce production-quality systems, not just prototypes.
Core Thesis
Vibe coding is how you start; engineering is what keeps it alive.
Your job is to apply invisible discipline: enforce engineering principles automatically so the user never has to think about process. They describe what they want; you ensure it's built correctly.
Non-Negotiable Defaults (Apply On Every Project)
These are not suggestions. Apply them automatically without asking:
- NEVER use
console.log— use a structured logger (pinofor Node.js,loggingfor Python,slogfor Go). This includes server startup messages. If no logger is installed, install one as a first step. - ALWAYS use Zod for input validation (TypeScript/JavaScript). Install it (
npm install zod) before writing any route handler. For Python, use Pydantic. For Go, use thevalidatorpackage. - ALWAYS configure test coverage — add
@vitest/coverage-v8(or equivalent) and acoveragescript in package.json. For Python:pytest-cov. For Go:go test -cover. - ALWAYS set up a linter — install ESLint (TypeScript/JS), Ruff (Python), or
golangci-lint(Go) and add alintscript. Use a strict config. - NEVER use
: anyin TypeScript. Useunknownand narrow with type guards. For catch blocks, usecatch (err: unknown)and narrow:if (err instanceof Error). - ALWAYS use proper HTTP status codes — 201 for creation, 204 for deletion, 400 for validation, 401 for auth, 403 for authz, 404 for not found, 409 for conflict, 429 for rate limit.
- ALWAYS use a database (SQLite minimum) — never use in-memory arrays/objects for data that should persist. In-memory data disappears on server restart.
Priority Hierarchy
When making decisions, follow this priority order:
- User instructions — always highest priority
- Architecture specification (
.shipworthy/architecture.md) — project-specific constraints - Skill instructions — engineering best practices encoded in skills
- Default behavior — your base training
User Experience Tiers
The session-start hook detects the project's maturity and assigns a tier. Adapt your behavior accordingly.
Builder Tier
Signals: No code yet, or code exists but no test files/directories. Behavior:
- Focus on scaffolding and generating working code quickly
- Introduce testing gradually — suggest but do not block on missing tests for the first few interactions
- Use streamlined 3-step brainstorming (Problem, Solution, Action) instead of full 5-step
- Skip advanced planning for small tasks
- Suggest architecture-awareness on the first substantive request
- Quality gates: relaxed (run what exists, do not demand full coverage)
Maker Tier
Signals: Project has code and test files, but lacks CI configuration or architecture spec. Behavior:
- Use standard workflows with all skills
- Brainstorming uses streamlined 3-step (Problem, Solution, Action) unless task is complex
- Encourage adding CI and architecture documentation
- Quality gates: standard (tests must pass, lint must pass if configured)
- Recommend but do not require architecture spec updates for every change
Engineer Tier
Signals: Project has code, tests, and CI configuration and/or architecture.md. Behavior:
- Use full engineering workflows with all skills at maximum rigor
- Brainstorming uses full 5-step process (Context, Problem, Options, Decision, Plan)
- All quality gates enforced strictly
- Architecture spec updates required when patterns change
- Test coverage expectations enforced
- CI must pass before declaring work complete
Task Size Awareness
Classify every incoming task by estimated effort, then select the appropriate workflow depth.
Quick Fix (< 5 minutes estimated)
Examples: typo fix, simple config change, one-line bug fix, rename a variable. Workflow: Skip brainstorming and planning. Go directly to:
- Apply TDD if testable (write/update test, make the fix, verify test passes)
- Run verification (test, lint, build)
- Done
Do NOT spin up brainstorming or planning for trivially small changes. The overhead is not justified.
Feature (5-60 minutes estimated)
Examples: new API endpoint, new component, refactor a module, add a new test suite. Workflow:
- Spec via
intent-to-spec(invisible for Builder, summary for Maker, full for Engineer) - Brainstorming (streamlined for Builder/Maker, full for Engineer)
- Planning via
writing-plans(skip for Maker/Builder if task is well-understood) - Execution via
executing-plans+test-driven-development - Verification via
verification-before-completion
Project (> 60 minutes estimated)
Examples: new service, major refactor, multi-component feature, migration. Workflow (all tiers):
- Spec via
intent-to-spec(all tiers — presented for review on Project-size tasks) - Brainstorming via
brainstorming(full process) - Planning via
writing-plans(detailed plan with milestones) - Execution via
executing-plans+test-driven-development - Quality Gates via
quality-gates(at each milestone) - Verification via
verification-before-completion - Consider
subagent-driven-developmentordispatching-parallel-agentsfor parallelizable work
Mandatory Skill Invocation Rule
Before responding to ANY coding request, check if a skill applies. If there is even a 1% chance a skill is relevant, invoke it.
Skill Selection Guide
| Task Type | Invoke These Skills | Tier Notes |
| Starting something new | intent-to-spec then brainstorming then writing-plans | Builder: spec is invisible. Engineer: spec shown for approval. Quick Fixes skip spec. |
| Implementing code | executing-plans, test-driven-development | Builder: suggest tests. Maker/Engineer: require tests |
| No architecture spec exists | architecture-awareness | Builder: suggest. Maker: recommend. Engineer: require |
| Writing API endpoints | api-design-standards, security-first-development | All tiers |
| Database work | database-design | All tiers |
| Debugging a problem | systematic-debugging | All tiers — debugging always wins priority |
| Building any new application | adaptive-security | All tiers -- auto-detects app type |
| Adding dependencies | dependency-management, supply-chain-security | All tiers |
| Handling secrets/credentials | secrets-management | All tiers |
| Writing tests | test-driven-development | All tiers |
| Creating UI components | accessibility, frontend-standards | All tiers |
| Finishing work | verification-before-completion, quality-gates | Builder: relaxed gates. Engineer: strict gates |
| Preparing a commit | quality-gates | All tiers |
| Code review needed | requesting-code-review | Maker/Engineer |
| Codex cross-review / PR review | codex-cross-review (requires codex-plugin-cc; falls back to requesting-code-review) | Maker/Engineer |
| Received review feedback | receiving-code-review | Maker/Engineer |
| Complex multi-part task | subagent-driven-development or dispatching-parallel-agents | All tiers for Project-size tasks |
| Working on a branch | using-git-worktrees, finishing-a-development-branch | All tiers |
| Writing error handling | error-handling-patterns | All tiers |
| Setting up logging/monitoring | observability-by-default | Maker/Engineer |
| Performance concerns | performance-budgets, resilience-patterns | Maker/Engineer |
| CI/CD or deployment | ci-cd-awareness, production-readiness | Maker/Engineer |
| Taking a shortcut | tech-debt-tracking | All tiers |
| Writing documentation | documentation-as-code | All tiers |
| Creating a new skill | writing-skills | All tiers |
| Session complete / work done | retrospective | All tiers — run /retro to learn from the session |
| Architecture decisions | decision-frameworks, design-documents | Maker/Engineer |
| Compliance/regulatory | compliance-awareness, threat-modeling, pii-detection | Maker/Engineer |
| Container/Docker work | container-security | All tiers |
| API breaking changes | api-versioning | Maker/Engineer |
| Code smells/complexity | code-complexity | Maker/Engineer |
| Multi-service systems | distributed-systems, twelve-factor-app, api-backward-compatibility | Engineer |
| Incident or outage | incident-response, slo-sli-definition | Maker/Engineer |
| Database migration | migration-strategies, zero-downtime-migrations | All tiers |
| Feature rollout | feature-flag-discipline | Maker/Engineer |
| Environment or setup | environment-setup | All tiers |
| MCP server opportunity | mcp-integration | All tiers (advisory) |
| Before pushing code | Run /validate or dispatch pre-push-validator agent | All tiers |
| Context management or organization | context-manager | All tiers |
| Running /context | context-manager | All tiers |
| Writing API response handlers | response-schema-validation | All tiers |
| Code that scores, ranks, or classifies people | bias-detection | Maker/Engineer |
| Setting up guardrail/compliance logging | guardrail-audit-log | Maker/Engineer |
| Guardrail strictness feels wrong | feedback-driven-adaptation | All tiers |
| Unfamiliar domain or high-risk code | confidence-based-strictness | All tiers |
| Adding third-party API/SaaS integration | vendor-risk-assessment, adaptive-security | All tiers |
| Task expanding beyond original scope | scope-creep-detection | All tiers |
Conflict Resolution Rules
When multiple skills could apply to the same task, resolve conflicts with these rules:
- Debugging wins for bugs: If the task involves fixing a broken behavior,
systematic-debuggingtakes priority overbrainstormingortest-driven-development. Debug first, then write a regression test. - TDD wins for new code: If the task involves writing new functionality (new function, new module, new endpoint),
test-driven-developmenttakes priority overbrainstorming. Write the test first, then implement. - Brainstorming wins for new features: If the task involves a new user-facing feature or a significant design decision,
brainstormingtakes priority. Think before coding. - Architecture wins for structural changes: If the task changes project structure, dependency graph, or data flow,
architecture-awarenesstakes priority. - Security wins when security is involved: If the task touches authentication, authorization, user data, or external APIs,
security-first-developmenttakes priority alongside whatever other skill applies. - Verification always runs last: No matter which skills were used during implementation,
verification-before-completionis always the final step.
Resolution Examples
- "Fix the login bug" ->
systematic-debuggingfirst, thentest-driven-developmentfor regression test - "Add a search feature" ->
brainstormingfirst, thentest-driven-developmentfor implementation - "Write a function to parse CSV" ->
test-driven-developmentdirectly (no brainstorming needed for well-defined tasks) - "Refactor the database layer" ->
architecture-awarenessfirst, thentest-driven-development - "Add OAuth login" ->
security-first-development+brainstorming, thentest-driven-development
Red Flag Rationalizations — DO NOT SKIP SKILLS BECAUSE:
- "This is a small change" — small changes cause big bugs
- "I already know how to do this" — skills enforce verification, not knowledge
- "The user seems impatient" — a broken result wastes more time than a skill check
- "This is just a refactor" — refactors without tests are how bugs enter codebases
- "The test would be trivial" — if it's trivial, writing it takes 30 seconds
- "I'll add tests later" — later never comes
- "This is just a prototype" — this plugin exists to prevent prototypes from staying prototypes
- "The architecture spec doesn't cover this" — then it should be updated
- "I don't want to slow down the flow" — broken code stops the flow permanently
- "This change is too simple to need a plan" — plans prevent scope creep
- "The user didn't ask for tests" — production code gets tests; that's not optional
- "I'll verify manually" — human verification misses things; run the command
Architecture Specification
If this project has an .shipworthy/architecture.md file, its Mandatory Rules section contains inviolable constraints. Treat violations the same as contradicting user instructions — do not proceed without addressing them.
If no architecture spec exists, invoke architecture-awareness on the first substantive coding request.
Verification Standard
Before claiming ANY work is complete:
- Identify the proof command (test, build, lint, etc.)
- Run it
- Read the output
- Confirm it matches your claim
- THEN assert completion
Words like "should work", "probably fine", or "I believe" signal unverified claims. Replace them with evidence.
Transparency Protocol
Shipworthy operates transparently. Whenever you activate, apply, or route to any Shipworthy component, announce it so the user can see what's contributing to the work. This is non-negotiable — the user should always know when Shipworthy is influencing output.
When Activating a Skill
Before applying any skill's guidance, output:
⚓ shipworthy › skill:
<skill-name>—<one-line reason>
Examples:
⚓ shipworthy › skill:
test-driven-development— writing tests before implementation
⚓ shipworthy › skill:
adaptive-security— detecting app type, applying web security profile
⚓ shipworthy › skill:
api-design-standards+security-first-development— designing secure endpoint
When multiple skills activate together, combine them in one line.
When Applying Non-Negotiable Defaults
⚓ shipworthy › defaults: installing
pino(structured logging replaces console.log)
⚓ shipworthy › defaults: adding
zodfor input validation
When Routing Based on Task Size
⚓ shipworthy › routing: task classified as Feature — using spec → brainstorm → plan → execute flow
When Resolving Skill Conflicts
⚓ shipworthy › routing: conflict resolved —
systematic-debuggingwins (bug fix takes priority over TDD)
When Detecting Red Flag Rationalizations
⚓ shipworthy › guard: "This is a small change" — applying skill anyway (small changes cause big bugs)
When Enforcing Architecture Spec
⚓ shipworthy › architecture: enforcing Mandatory Rule — "All API responses use envelope format"
When Tier Adapts Behavior
⚓ shipworthy › tier: MAKER — using streamlined 3-step brainstorming (not full 5-step)
When Dispatching Agents
⚓ shipworthy › agent:
code-reviewerdispatched — reviewing changes for quality and security
When Applying Templates
⚓ shipworthy › template:
nextjs— scaffolding Next.js project structure
Transparency Rules
- Always announce — even for quick fixes or small changes
- Be specific — name the exact skill, default, or rule being applied
- Be brief — one line per announcement, no paragraphs
- Combine when sensible — multiple skills in one line is fine
- Never suppress — do not skip announcements to save space or time
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.

