agentleFS
Vimalk0703Vimalk0703/shipworthy/skills/core/using-shipworthy/SKILL.md

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

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
  1. Distinctive:

    When making decisions, follow this priority order:

    line 31
  2. Distinctive:

    Signals: No code yet, or code exists but no test files/directories.

    line 43
  3. Distinctive:

    Use streamlined 3-step brainstorming (Problem, Solution, Action) instead of full 5-step

    line 47
  4. Distinctive:

    Use standard workflows with all skills

    line 55
  5. Distinctive:

    Use full engineering workflows with all skills at maximum rigor

    line 64
  6. Distinctive:

    All quality gates enforced strictly

    line 66
  7. Distinctive:

    Test coverage expectations enforced

    line 68
  8. Distinctive:

    Run verification (test, lint, build)

    line 79
  9. Distinctive:

    Do NOT spin up brainstorming or planning for trivially small changes.

    line 82
  10. Very specific:

    Consider subagent-driven-development or dispatching-parallel-agents for parallelizable work

    line 102
  11. Distinctive:

    When multiple skills could apply to the same task, resolve conflicts with these rules:

    line 162
  12. Very specific:

    Debugging wins for bugs: If the task involves fixing a broken behavior, systematic-debugging takes priority over brainstorming or …

    line 164
  13. Very specific:

    TDD wins for new code: If the task involves writing new functionality (new function, new module, new endpoint), test-driven-development …

    line 166
  14. Very specific:

    Brainstorming wins for new features: If the task involves a new user-facing feature or a significant design decision, brainstorming takes …

    line 168
  15. Very specific:

    Architecture wins for structural changes: If the task changes project structure, dependency graph, or data flow, architecture-awareness …

    line 170
  16. Very specific:

    Security wins when security is involved: If the task touches authentication, authorization, user data, or external APIs, …

    line 172
  17. Very specific:

    Verification always runs last: No matter which skills were used during implementation, verification-before-completion is always the final …

    line 174
  18. Very specific:

    If this project has an .shipworthy/architecture.md file, its Mandatory Rules section contains inviolable constraints.

    line 200
  19. Very specific:

    If no architecture spec exists, invoke architecture-awareness on the first substantive coding request.

    line 202
  20. Distinctive:

    Before claiming ANY work is complete:

    line 206
  21. Distinctive:

    Before applying any skill's guidance, output:

    line 221
  22. Distinctive:

    When multiple skills activate together, combine them in one line.

    line 233

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. NEVER use console.log — use a structured logger (pino for Node.js, logging for Python, slog for Go). This includes server startup messages. If no logger is installed, install one as a first step.
  2. 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 the validator package.
  3. ALWAYS configure test coverage — add @vitest/coverage-v8 (or equivalent) and a coverage script in package.json. For Python: pytest-cov. For Go: go test -cover.
  4. ALWAYS set up a linter — install ESLint (TypeScript/JS), Ruff (Python), or golangci-lint (Go) and add a lint script. Use a strict config.
  5. NEVER use : any in TypeScript. Use unknown and narrow with type guards. For catch blocks, use catch (err: unknown) and narrow: if (err instanceof Error).
  6. 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.
  7. 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:

  1. User instructions — always highest priority
  2. Architecture specification (.shipworthy/architecture.md) — project-specific constraints
  3. Skill instructions — engineering best practices encoded in skills
  4. 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:

  1. Apply TDD if testable (write/update test, make the fix, verify test passes)
  2. Run verification (test, lint, build)
  3. 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:

  1. Spec via intent-to-spec (invisible for Builder, summary for Maker, full for Engineer)
  2. Brainstorming (streamlined for Builder/Maker, full for Engineer)
  3. Planning via writing-plans (skip for Maker/Builder if task is well-understood)
  4. Execution via executing-plans + test-driven-development
  5. Verification via verification-before-completion

Project (> 60 minutes estimated)

Examples: new service, major refactor, multi-component feature, migration. Workflow (all tiers):

  1. Spec via intent-to-spec (all tiers — presented for review on Project-size tasks)
  2. Brainstorming via brainstorming (full process)
  3. Planning via writing-plans (detailed plan with milestones)
  4. Execution via executing-plans + test-driven-development
  5. Quality Gates via quality-gates (at each milestone)
  6. Verification via verification-before-completion
  7. Consider subagent-driven-development or dispatching-parallel-agents for 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 TypeInvoke These SkillsTier Notes
Starting something newintent-to-spec then brainstorming then writing-plansBuilder: spec is invisible. Engineer: spec shown for approval. Quick Fixes skip spec.
Implementing codeexecuting-plans, test-driven-developmentBuilder: suggest tests. Maker/Engineer: require tests
No architecture spec existsarchitecture-awarenessBuilder: suggest. Maker: recommend. Engineer: require
Writing API endpointsapi-design-standards, security-first-developmentAll tiers
Database workdatabase-designAll tiers
Debugging a problemsystematic-debuggingAll tiers — debugging always wins priority
Building any new applicationadaptive-securityAll tiers -- auto-detects app type
Adding dependenciesdependency-management, supply-chain-securityAll tiers
Handling secrets/credentialssecrets-managementAll tiers
Writing teststest-driven-developmentAll tiers
Creating UI componentsaccessibility, frontend-standardsAll tiers
Finishing workverification-before-completion, quality-gatesBuilder: relaxed gates. Engineer: strict gates
Preparing a commitquality-gatesAll tiers
Code review neededrequesting-code-reviewMaker/Engineer
Codex cross-review / PR reviewcodex-cross-review (requires codex-plugin-cc; falls back to requesting-code-review)Maker/Engineer
Received review feedbackreceiving-code-reviewMaker/Engineer
Complex multi-part tasksubagent-driven-development or dispatching-parallel-agentsAll tiers for Project-size tasks
Working on a branchusing-git-worktrees, finishing-a-development-branchAll tiers
Writing error handlingerror-handling-patternsAll tiers
Setting up logging/monitoringobservability-by-defaultMaker/Engineer
Performance concernsperformance-budgets, resilience-patternsMaker/Engineer
CI/CD or deploymentci-cd-awareness, production-readinessMaker/Engineer
Taking a shortcuttech-debt-trackingAll tiers
Writing documentationdocumentation-as-codeAll tiers
Creating a new skillwriting-skillsAll tiers
Session complete / work doneretrospectiveAll tiers — run /retro to learn from the session
Architecture decisionsdecision-frameworks, design-documentsMaker/Engineer
Compliance/regulatorycompliance-awareness, threat-modeling, pii-detectionMaker/Engineer
Container/Docker workcontainer-securityAll tiers
API breaking changesapi-versioningMaker/Engineer
Code smells/complexitycode-complexityMaker/Engineer
Multi-service systemsdistributed-systems, twelve-factor-app, api-backward-compatibilityEngineer
Incident or outageincident-response, slo-sli-definitionMaker/Engineer
Database migrationmigration-strategies, zero-downtime-migrationsAll tiers
Feature rolloutfeature-flag-disciplineMaker/Engineer
Environment or setupenvironment-setupAll tiers
MCP server opportunitymcp-integrationAll tiers (advisory)
Before pushing codeRun /validate or dispatch pre-push-validator agentAll tiers
Context management or organizationcontext-managerAll tiers
Running /contextcontext-managerAll tiers
Writing API response handlersresponse-schema-validationAll tiers
Code that scores, ranks, or classifies peoplebias-detectionMaker/Engineer
Setting up guardrail/compliance loggingguardrail-audit-logMaker/Engineer
Guardrail strictness feels wrongfeedback-driven-adaptationAll tiers
Unfamiliar domain or high-risk codeconfidence-based-strictnessAll tiers
Adding third-party API/SaaS integrationvendor-risk-assessment, adaptive-securityAll tiers
Task expanding beyond original scopescope-creep-detectionAll tiers

Conflict Resolution Rules

When multiple skills could apply to the same task, resolve conflicts with these rules:

  1. Debugging wins for bugs: If the task involves fixing a broken behavior, systematic-debugging takes priority over brainstorming or test-driven-development. Debug first, then write a regression test.
  2. TDD wins for new code: If the task involves writing new functionality (new function, new module, new endpoint), test-driven-development takes priority over brainstorming. Write the test first, then implement.
  3. Brainstorming wins for new features: If the task involves a new user-facing feature or a significant design decision, brainstorming takes priority. Think before coding.
  4. Architecture wins for structural changes: If the task changes project structure, dependency graph, or data flow, architecture-awareness takes priority.
  5. Security wins when security is involved: If the task touches authentication, authorization, user data, or external APIs, security-first-development takes priority alongside whatever other skill applies.
  6. Verification always runs last: No matter which skills were used during implementation, verification-before-completion is always the final step.

Resolution Examples

  • "Fix the login bug" -> systematic-debugging first, then test-driven-development for regression test
  • "Add a search feature" -> brainstorming first, then test-driven-development for implementation
  • "Write a function to parse CSV" -> test-driven-development directly (no brainstorming needed for well-defined tasks)
  • "Refactor the database layer" -> architecture-awareness first, then test-driven-development
  • "Add OAuth login" -> security-first-development + brainstorming, then test-driven-development

Red Flag Rationalizations — DO NOT SKIP SKILLS BECAUSE:

  1. "This is a small change" — small changes cause big bugs
  2. "I already know how to do this" — skills enforce verification, not knowledge
  3. "The user seems impatient" — a broken result wastes more time than a skill check
  4. "This is just a refactor" — refactors without tests are how bugs enter codebases
  5. "The test would be trivial" — if it's trivial, writing it takes 30 seconds
  6. "I'll add tests later" — later never comes
  7. "This is just a prototype" — this plugin exists to prevent prototypes from staying prototypes
  8. "The architecture spec doesn't cover this" — then it should be updated
  9. "I don't want to slow down the flow" — broken code stops the flow permanently
  10. "This change is too simple to need a plan" — plans prevent scope creep
  11. "The user didn't ask for tests" — production code gets tests; that's not optional
  12. "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:

  1. Identify the proof command (test, build, lint, etc.)
  2. Run it
  3. Read the output
  4. Confirm it matches your claim
  5. 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 zod for 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-debugging wins (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-reviewer dispatched — reviewing changes for quality and security

When Applying Templates

⚓ shipworthy › template: nextjs — scaffolding Next.js project structure

Transparency Rules

  1. Always announce — even for quick fixes or small changes
  2. Be specific — name the exact skill, default, or rule being applied
  3. Be brief — one line per announcement, no paragraphs
  4. Combine when sensible — multiple skills in one line is fine
  5. Never suppress — do not skip announcements to save space or time

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.