skills/local/cali-product-workflow/SKILL.md
[Cali] Complete product planning workflow: Shape Up -> Interface -> Tech Planning -> Plan Critique -> Plannotator Gate. Includes 8 domain playbooks (Pricing, Trust, Ads, Health, etc)
npx skillsauth add renatocaliari/agent-sync-public-skills cali-product-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a strategic product planner following the Shape Up method. This is the orchestrator skill that coordinates subskills for each stage.
CRITICAL RULES — NEVER SKIP:
references/cli-tools/structured-question.md) for ALL user-facing questions. Do NOT ask questions in chat/markdown format.references/cli-tools/*.md file.references/cli-tools/todo.md for task management. Never call todo tools directly.BEFORE USING ANY TOOL, read the reference files:
| Tool | Reference |
|------|----------|
| subagent | references/cli-tools/subagents.md |
| structured question | references/cli-tools/ask.md |
| plannotator annotate --gate | references/cli-tools/plannotator.md |
| goal-system (ordered + flexible) | references/cli-tools/goals.md |
| safe-change | references/cli-tools/safe-change.md |
| intercom | references/cli-tools/intercom.md |
| supervise | references/cli-tools/supervise.md |
|| /pw-next, /pw-setphase | references/cli-tools/stage-status.md |
| ctx_* (context-mode) | references/cli-tools/context-mode.md |
| todo | references/cli-tools/todo.md |
DO NOT hardcode commands or package names in skills. Use the references above.
Before any structured question call, read stages/ask-patterns.md for standardized patterns.
Artifacts are stored in .cali-product-workflow/{YYYY-MM-DD}/{_dir}/:
index.json — Auto-discovery metadataspecs/spec-product_v{N}.md — Shape Up outputinterfaces/interfaces_v{N}.md — Interface proposalsplans/spec-tech_v{N}.md + plans/scopes/ — Tech plancritiques/critique-report_v{N}.md — Critiqueapprovals/*.receipt.md — Gate receiptsstrategic/ — Strategic analysis outputssessions/{session-id}/checkpoint.json — Resume checkpoints{_dir} = stable directory name (initial name, never changes on rename).
{name} = display name (may change via rename).
In Stage 2 (Strategic Context), the user can choose strategic analyses in parallel:
| Approach | Skill | What It Produces |
|---|---|---|
| Jobs To Be Done | cali-product-job-to-be-done | Contextual segmentation, desired outcomes, job map |
| Evolutionary Principles | cali-evolutionary-principles | Stepping-stones, novelty map, evolutionary forces |
| Opportunity Mapping | cali-opportunity-mapping | Ranked opportunities, solution candidates |
| Multi-Method Market Analysis | cali-product-multi-method-market-analysis | PESTLE, Wardley Maps, Foresight, trends |
| Product Discovery | cali-product-discovery | Experiment plan, metrics, pricing |
All execute concurrently via subagent({tasks: [...], concurrency: N}).
See stages/context.md for the full flow.
Domain playbooks available for tactical reference during planning/execution:
| Library | Skill | Covers |
|---|---|---|
| Ads | cali-product-ads | Transtheoretical Model, 5 awareness stages |
| Business Models | cali-product-business-models | Cost reduction, revenue generation |
| Health | cali-product-health | Signals in tension, success vs counterbalance |
| Marketplace Playbook | cali-product-marketplace-playbook | 19 marketplace stimulation tactics |
| Open Source | cali-product-open-source | OSS business models, fair code |
| Pricing | cali-product-pricing | Exchange base, consumption, alignment, perception |
| Promotions | cali-product-promotions | MAGIC framework, 4 launch strategies |
| Trust Building | cali-product-trust-building | 10 pillars, guarantees, perception |
Stage Status: see
references/cli-tools/stage-status.mdfor instructions for ASCII status display and CLI commands.
Follow the sequence below. For phases 3-5 and 7, read the subskill SKILL.md directly. Each subskill has its own Reference Index — read the file to see it:
cali-product-shape-up/SKILL.md for instructionscali-product-plan-critique/SKILL.md for instructionscali-product-interface-brainstorm/SKILL.md for instructionscali-product-tech-planning/SKILL.md for instructionsDo NOT use /skill: for internal subskills.
⚠️ Bypass awareness: If the user asks you to implement code before Stage 12 (Execution), the workflow has been bypassed. The footer will show
⚠️ bypassed. Guide the user back: remind them of the current stage and suggest/pw-nextto advance properly. Do NOT continue implementing — the workflow exists to prevent exactly this.
| # | Stage | Description | Trigger | |---|-------|-------------|---------| | 0 | Inbox Triage | Extract items from list, accept/group/defer/reject | Auto (list detected) | | 1 | Item Selection | Rank accepted items, user picks one | After Triage | | 2 | Project Setup | Stages selection, safe-change | — | | 3 | Strategic Context (optional) | Strategic exploration + domain detection | — | | 4 | Shape Up | Create spec with problem/solution/scope | — | | 5 | Plan Critique | Pre-flight check (LLM automatic) | — | | 6 | Review Gate (Plannotator) | Visual approval — never skip | — | | 7 | Scope Adjustment | Add/remove from IN/OUT (ask) | — | | 8 | Interface Brainstorming | 5 proposals + hybrid (if selected) | — | | 9 | Interface Gate (Plannotator) | Visual review of all interfaces | — | | 10 | Interface Selection | User picks via ask with preview | — | | 11 | Tech Planning | Typed scopes + sequencing | — | | 12 | Execution | Goal/scope executor | — | | 13 | Delivery Audit | Verify scope completion, gap analysis | After Execution |
Stage 10 triggered: When product_type: software or product_type: hybrid:
Tech Planning
↓
[product_type check]
↓ software/hybrid
cali-product-testing-ai-code → testing-strategy.md + test-* scopes
↓
Execution
See skills/cali-product-testing-ai-code/SKILL.md
Stage 0: Inbox Triage (auto — if list detected)
Stage 1: Item Selection (auto — if triage ran)
↓
Stage 2: Setup
↓
Stage 3: Strategic Context (optional)
↓
Stage 4: Shape Up
↓
Stage 5: Plan Critique (pre-flight)
↓
Stage 6: Plannotator Gate ← visual pause
↓
Stage 7: Scope Adjustment (ask)
↓
Stage 8: Interface Brainstorming (if selected)
↓
Stage 9: Plannotator Gate (interfaces) ← visual pause
↓
Stage 10: Interface Selection (ask with preview)
↓
Stage 11: Tech Planning
↓
Stage 12: Execution
↓
Stage 13: Delivery Audit
| User selection | Stages that run automatically | |---|---| | Shape Up only | Shape Up → Plan Critique → Gate → Scope → Tech Planning → Execution → Audit | | Shape Up + Interface | Shape Up → Plan Critique → Gate → Scope → Interface → Interface Gate → Selection → Tech Planning → Execution → Audit | | Tech Planning only | Tech Planning (with embedded Gate) → Execution → Audit |
Plan Critique runs automatically before every Gate. Gate (Plannotator --gate) never skips — visual pause is mandatory. Scope Adjustment happens after Gate approval, via ask (no Plannotator re-run). Interface Gate shows all proposals visually before selection. Execution runs automatically after Tech Planning — DO NOT ask user what to do next.
Use references/cli-tools/plannotator.md for Plannotator gate rules.
stages/ask-patterns.mdreferences/cli-tools/plannotator.md for Plannotator commandstages/ask-patterns.md immediatelyapproved: true in spec-product.mdproduct_type: software or product_type: hybrid in frontmatter:
see skills/cali-product-testing-ai-code/SKILL.md for instructions to generate testing-strategy.mdtest-* scope types to spec-tech.mdskills/cali-product-testing-ai-code/SKILL.mdskills/cali-product-scope-executor/SKILL.md for instructions for scope routing.stages/execution.md for details.skills/cali-product-scope-executor/SKILL.md for instructions for scope routing.stages/execution.md for details.d05|
stages/ask-patterns.md
d05|Each tool in references/cli-tools/ documents its own fallback.
The current workflow stage is tracked in .cali-product-workflow/state/current-stage.json.
When transitioning to a new stage:
.cali-product-workflow/state/current-stage.json to know current stagestages.yaml to validate tools allowed in new stage.cali-product-workflow/state/current-stage.json with transition() from state-managersupervisor: true, activate supervisorrequires_approval: true, gate before proceedingBefore calling any tool, check:
RULES.md for hard constraintsstages.yaml for stage-specific blocked_toolstools
Auto-initialize structured documentation for any project using lat.md (knowledge graph of markdown files with [[wiki links]], // @lat: code refs, and semantic search). Detects cali-product-workflow artifacts (spec-product.md, spec-tech.md, critiques) and uses them as seed material. Falls back to extracting business rules, architecture, and design decisions directly from the codebase. Use when a project lacks structured documentation or when lat.md/ is missing. After seeding, lat.md extension hooks keep documentation alive automatically.
testing
[Cali] Server security audit and hardening for private servers behind Tailscale. Use when: auditing server security, hardening SSH/firewall/Docker, checking for vulnerabilities, setting up fail2ban, reviewing port exposure, or responding to security alerts. Covers 6 layers: CloudFlare, UFW, Tailscale, SSH, Docker, Application. Triggers: "server security", "security audit", "harden server", "SSH hardening", "firewall rules", "UFW config", "fail2ban", "port security", "Docker security", "vulnerability check", "security review".
tools
Run supply chain security scans before installing packages or before releases. Triggers when: user installs a package (npm, pip, go get, brew), user asks to 'scan dependencies', 'check vulnerabilities', 'supply chain', 'security audit', 'run trivy', 'run socket', or before any release/deployment. Also triggers on mentions of: socket.dev, trivy, OSV-scanner, dotenvx, CVE, dependency audit. Covers all four tools with concrete commands.
tools
Create GitHub releases following project conventions. Triggers when: user says 'release', 'create release', 'push release', 'deploy to main', 'merge to main', user merges a PR to main, or when git push to main is detected. Also triggers on mentions of: gh release, semver, version bump, changelog, release-please. Covers: config-driven (read .release.yml and execute) and fallback (gh CLI) release flows, versioning rules, tag management, and the mandatory release-on-merge convention.