|
| 1 | +--- |
| 2 | +name: osmani-build |
| 3 | +description: > |
| 4 | + Product-build lifecycle gate over the addy-agent-skills plugin (addyosmani/agent-skills — 24 phase |
| 5 | + skills: define → plan → build → verify → review → ship). Fires on PRODUCT build-intent: Nate starts |
| 6 | + building out a real tool, app, webapp, CLI, MCP server, API, bot, or skill — NOT creative ideation, |
| 7 | + content work, one-off scripts, or vault notes. On build-intent, OFFER one line (combined with the |
| 8 | + /recon offer) — do NOT auto-run. Greenfield → enter at Define. Build already started → NEVER |
| 9 | + retroactive Define/Plan; enter at the current phase, usually Verify → Review → Ship. Invoke directly |
| 10 | + as /osmani-build [define|plan|build|verify|review|ship] to skip the offer and jump to a phase. |
| 11 | + Triggers: "build / building out / start building / let's build / make a real / scaffold / MVP" |
| 12 | + plus a product noun. |
| 13 | +user_invocable: true |
| 14 | +allowed-tools: Skill, Bash, Read, Grep, Task, Agent |
| 15 | +--- |
| 16 | + |
| 17 | +# osmani-build — phase-gated product builds |
| 18 | + |
| 19 | +Thin orchestrator. The addy plugin skills do the actual work; this skill decides WHICH of the 24 |
| 20 | +fire, in what order, with Nate's house rules overriding addy's defaults. Born 2026-07-02, same day |
| 21 | +the plugin landed (`reference_addy_agent_skills_plugin.md`). |
| 22 | + |
| 23 | +## When this fires — OFFER, never auto-run |
| 24 | + |
| 25 | +On product build-intent, ask ONE line combined with the /recon offer, then wait: |
| 26 | + |
| 27 | +> Real build — want `/recon` (prior art), `/osmani-build` (define→ship lifecycle), both, or neither? |
| 28 | +
|
| 29 | +- Product build-intent = starting to build out a tool / app / webapp / CLI / MCP server / API / bot / |
| 30 | + skill intended for real use. |
| 31 | +- NOT build-intent: creative ideation, content/copy work, one-off scripts, vault/note work, small |
| 32 | + refactors. (A refactor heading toward a ship can still get `/osmani-build verify` — offer only when |
| 33 | + Nate signals shipping intent.) |
| 34 | +- Explicit `/osmani-build` invocation skips the offer. |
| 35 | +- "Neither" is always a fine answer. The offer is the contract; the run is optional. |
| 36 | + |
| 37 | +## Entry assessment |
| 38 | + |
| 39 | +First move: figure out where the project IS. Look, don't guess — check the dir/repo. |
| 40 | + |
| 41 | +| State | Signal | Entry phase | |
| 42 | +|---|---|---| |
| 43 | +| Greenfield | no repo, empty dir, idea only | Define | |
| 44 | +| Speced | spec/PRODUCT.md exists, little code | Plan | |
| 45 | +| Mid-build | working code exists | Build or Verify — ask one line | |
| 46 | +| Built | feature-complete, unshipped | Verify → Review → Ship | |
| 47 | + |
| 48 | +HARD RULE (Nate, 2026-07-02): if building already started, NEVER walk backwards into Define/Plan |
| 49 | +retroactively. Pick up at the current phase and move forward only. |
| 50 | + |
| 51 | +## Phase map |
| 52 | + |
| 53 | +Run phases in order from the entry point. Within a phase, invoke only the applicable skills via |
| 54 | +`Skill({skill: "agent-skills:<name>"})`. |
| 55 | + |
| 56 | +| Phase | Plugin skills | Applicability notes | |
| 57 | +|---|---|---| |
| 58 | +| Define | interview-me → idea-refine → spec-driven-development | greenfield only; skip any step whose output already exists | |
| 59 | +| Plan | planning-and-task-breakdown | tracked tasks → /maketasks (HARD RULE), never raw 05-Tasks writes | |
| 60 | +| Build | incremental-implementation (always) · test-driven-development (matches house TDD-London preference) · context-engineering · source-driven-development · doubt-driven-development | frontend-ui-engineering only for UI · api-and-interface-design only for APIs | |
| 61 | +| Verify | browser-testing-with-devtools (web surfaces) · debugging-and-error-recovery (on failures) | plus native /verify when the diff has a runtime surface | |
| 62 | +| Review | code-review-and-quality · code-simplification · security-and-hardening · performance-optimization | native /code-review, /simplify, /security-review are substitutes — prefer addy's inside the full lifecycle | |
| 63 | +| Ship | git-workflow-and-versioning · ci-cd-and-automation · shipping-and-launch · observability-and-instrumentation | documentation-and-adrs ONLY on explicit ask · deprecation-and-migration only when replacing a live thing | |
| 64 | + |
| 65 | +## Phase gates |
| 66 | + |
| 67 | +At each phase boundary, one line — e.g. `Define done → Plan next. Continue / skip to <phase> / stop?` |
| 68 | +Default momentum is continue; a bare "go" advances. Never re-litigate a completed phase. |
| 69 | + |
| 70 | +## House overrides (bind over addy defaults) |
| 71 | + |
| 72 | +- **No PRs** on lorecraft-io/fidgetcoding repos — direct push to main (`feedback_no_prs`). Ignore any |
| 73 | + PR-flow steps inside git-workflow-and-versioning. |
| 74 | +- **Never** `Co-Authored-By: claude-flow <ruv@ruv.net>` or any ruv* coauthor on commits. |
| 75 | +- **No proactive docs/READMEs.** documentation-and-adrs runs only on explicit ask; READMEs follow |
| 76 | + `feedback_readme_style` (personal voice, no dev-jargon jokes). |
| 77 | +- **ADRs route through /save branch 4** → `Claude-Memory/adr/ADR-<nnn>-<slug>.md`, not addy's location. |
| 78 | +- **Never dark mode by default** on any scaffold (`feedback_never_dark_mode`). |
| 79 | +- **Task creation → /maketasks.** Any planning output that becomes tracked tasks goes through the |
| 80 | + skill — never direct 05-Tasks writes, never minted UUIDs. |
| 81 | +- **/recon stays separate** — this skill never runs the landscape sweep itself. |
| 82 | + |
| 83 | +## Invocation mechanics |
| 84 | + |
| 85 | +1. Primary: `Skill({skill: "agent-skills:<name>"})`. |
| 86 | +2. Plugin skills not loaded this session (pre-restart)? Read the source directly and follow it inline: |
| 87 | + `ls ~/.claude/plugins/cache/addy-agent-skills/agent-skills/*/skills/<name>/SKILL.md` |
| 88 | + (version dir changes on plugin update — always glob, never hardcode). |
| 89 | +3. Plugin missing entirely? Reinstall with the SSH→HTTPS workaround in |
| 90 | + `reference_addy_agent_skills_plugin.md`, then continue. |
| 91 | + |
| 92 | +## Non-goals |
| 93 | + |
| 94 | +- No prior-art sweep (that's /recon). |
| 95 | +- No session capture (that's /save). |
| 96 | +- No creative/content pipelines — products only. |
0 commit comments