skills/tech-planning-sequencing/SKILL.md
Generate structured development plans with risk-based or UI-first sequencing. Analyzes tasks, identifies critical spikes, and produces detailed implementation sequences with DoD and acceptance criteria. Activate when: - explicitly called after shaping convergence - implementation sequencing is needed - engineering decomposition becomes necessary - dependencies or rollout order are unclear - execution planning must become operational
npx skillsauth add renatocaliari/agent-sync-public-skills tech-planning-sequencingInstall 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 act as a senior technical lead producing a structured, execution-ready implementation plan.
This skill transforms shaped proposals into:
The goal is:
This skill should operate AFTER:
It should treat the shaping proposal as:
NOT as:
Use this skill when:
Do NOT use when:
In those situations:
shape-up-planninginterface-brainstormingThis skill also applies to:
Adapt by replacing:
Whenever the user must choose between:
use the question tool whenever available.
Each question should include:
Fallback:
Options:
riskiest-first (default)ui-firstFront-load:
Front-load:
Options:
suggestive (default)strictInfer:
Only analyze explicitly provided elements.
Before sequencing:
Verify whether:
If major ambiguities still exist:
shape-up-planningBefore sequencing:
Check:
Determine whether the codebase is sufficiently understood.
If not:
Use the question tool when available.
Ask whether to:
Launch exploration focused on:
Feed findings into:
When:
Load:
references/CTO_RISK_ANALYSIS.md
Generate:
Use findings to:
Identify:
If analysis_mode = suggestive:
Critical spikes should happen early whenever possible.
Group work into coherent scopes.
The first scope should typically establish:
Scopes should optimize for:
Each scope must be typed:
feature — implement new functionality, UI, API endpoints, workflowsoptimization — improve an existing measurable metric (perf, bundle, build time, test speed,
Lighthouse score, memory, cost). These are candidates for pi-autoresearch execution.spike — research/prototype to reduce uncertainty (already defined in Step 3)Use the type to inform execution routing later:
feature scopes → execute via worker (pi-subagents)optimization scopes → execute via pi-autoresearch (autonomous experiment loop)spike scopes → execute via dedicated investigation (scout + researcher)If a scope has both feature and optimization aspects, split it into two scopes or mark it as the dominant type and note the secondary concern in the description.
Apply:
Explicitly justify:
For each scope:
Generate:
feature | optimization | spikeoptimization type): the measurable target with unit and direction,
e.g. API P95 latency < 200ms (lower is better), bundle size < 150KB (lower is better)Use:
💡 [suggestion]
for inferred improvements when applicable.Follow:
references/OUTPUT_FORMAT.md
Use:
[SCOPE-X][TYPE] — feature, optimization, or spike[METRIC] — only for optimization scopes[DOD][SPIKE][SEQUENCE][RISK]The output should feel:
After sequencing completion, decide whether to submit for collaborative review:
Conditional gate logic:
shape-up-planning (the shaping proposal already went through a Plannotator gate): skip this review phase. The single gate at the end of shaping is sufficient — proceed directly to Step 9.When review is needed, tool selection by environment:
plannotator annotate docs/{YYYY-MM-DD}/{slug}/plans/spec-tech_{v}.md --gate (bash)submit_plan toolThe flag --gate é OBRIGATÓRIA no Pi — ela faz o Plannotator bloquear até aprovação ou rejeição explícita.
Purpose of review:
This review focuses on:
After approval:
The approved sequencing artifact should represent:
After approved plan only.
Tool selection by environment:
todowritetodoWhen available:
Treat todos as the operational execution state, not as a static checklist.
Organize by:
If unavailable:
After approved plan only and todos created. Based on the plan, dependencies and context, decide yourself which scopes/tasks executing in parallel or sequentially. Use subagents for whatever option.
Persist ONLY after:
Suggested convention:
`docs/{YYYY-MM-DD}/{slug}/plans/spec-tech_{v}.md`
Guidelines:
Persist:
After persisting:
Strong outputs:
Weak outputs:
development
PocketBase v0.39+ development - API rules, auth, collections, SDK, realtime, files, Go/JS extending, deployment, production tuning.
tools
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.