AGENT SKILL

planning-expert

Development planning based on technical documentation: RFCs for architecture proposals, TRDs for solution specification, ADRs for decision records, pre-coding clarifying interviews (need: scope, technical constraints), multi-week roadmaps, and trade-off analysis. Use when starting ambiguous feature work, receiving vague requirements, planning implementation before writing code, designing multi-week roadmaps, or needing to surface unstated assumptions. Trigger: planning, roadmap, ADR, RFC, TRD, scope definition, pre-coding interview. Do NOT trigger for: debugging, code review, deployment operations.

License 许可
MIT
最近更新
2026-08-27
Stars
★ 1
Forks
0

01 前言 Front Matter

name
planning-expert
license
MIT
metadata
{ "author": "Community", "status": "stable", "version": "1.3", "category": "process" }
description
Development planning based on technical documentation: RFCs for architecture proposals, TRDs for solution specification, ADRs for decision records, pre-coding clarifying interviews (need: scope, technical constraints), multi-week roadmaps, and trade-off analysis. Use when starting ambiguous feature work, receiving vague requirements, planning implementation before writing code, designing multi-week roadmaps, or needing to surface unstated assumptions. Trigger: planning, roadmap, ADR, RFC, TRD, scope definition, pre-coding interview. Do NOT trigger for: debugging, code review, deployment operations.

02 资源文件 3

03 SKILL.md 正文

Planning Expert

Pre-coding planning: interviews, specs, ADRs and roadmaps.

Pre-Coding Interview (3 phases)

Phase 1: Understand Need

  • What problem are we solving?
  • Who is the user/stakeholder?
  • What does success look like? (measurable outcome)

Phase 2: Scope Boundaries

  • What is explicitly IN scope?
  • What is explicitly OUT of scope?
  • What are the constraints (time, budget, tech)?

Phase 3: Technical Constraints

  • Existing systems this must integrate with?
  • Data or schema changes needed?
  • Security/compliance requirements?
  • Performance targets (latency, throughput)?

Planning Depth

Level Output Duration
Standard Objectives + scope + milestones + risks + dependencies Single feature, 1-2 weeks
Deep Above + alternative analysis + trade-offs + ADR + RFC Multi-week, cross-team

Output Templates

Standard Plan

## Objective
<one-sentence goal>

## Scope
In: <what's covered>
Out: <what's explicitly excluded>

## Milestones
1. <milestone> — <definition of done>
2. <milestone> — <definition of done>

## Risks
- <risk>: <mitigation>

## Dependencies
- <what must be done first, by whom>

ADR (Architecture Decision Record)

# ADR-###: <Title>
Status: Proposed | Accepted | Deprecated
Date: YYYY-MM-DD
Context: <problem + constraints>
Decision: <what we're doing>
Alternatives: <what we considered + why rejected>
Consequences: <what becomes easier/harder>

Spec and PRD Structure

When planning a spec or PRD, cover seven dimensions (master catalog #17):

  1. Objectives: the measurable outcome, not the feature list
  2. Commands: how to run, test, and deploy the thing being specified
  3. Structure: the component layout and data flow
  4. Code style: linting, formatting, and naming conventions
  5. Testing: the test strategy and acceptance criteria
  6. Boundaries: what is explicitly out of scope
  7. Verification: how the plan proves it is done

Brainstorming and Idea Refinement

Divergent then convergent (master catalog #17, #20):

  1. Diverge: generate options without judging; capture every idea
  2. Converge: filter against the stated objectives and constraints
  3. Design in chunks: split the solution into reviewable chunks and refine each before assembling

Three Amigos and Shadow Areas

Run the Three Amigos session (business, developer, tester) on each ambiguous requirement (master catalog #148):

  • Business: what problem is solved and for whom
  • Developer: how it is built and what it touches
  • Tester: how success is verified and what can break
  • Shadow areas: call out the parts nobody owns explicitly; assign an owner before planning proceeds
  • Challenge: every participant must challenge at least one assumption

Junior-Readable Plans

A plan is junior-readable when (master catalog #20):

  • Tasks take 2-5 minutes, not half days
  • Every task names the exact file or command it touches
  • Every task has an explicit verification step
  • No implicit knowledge is required beyond the task text

Pre-change grilling protocol (mattpocock /grill-me)

Mandatory pre-change interrogation (master catalog #18): grill until the human confirms intent; do not rubber-stamp.

When to grill: ambiguity in the request, unclear scope, high stakes, or an unfamiliar domain. Otherwise use plain clarify: one batched question, then proceed.

Question budget: 2-3 rounds maximum; after the cap, state the residual gap and stop. 9 intent dimensions: goal, success criteria, constraints, boundaries (in/out), assumptions, risks, stakeholders, effort and impact, verification.

Alignment exit criteria: the human confirms intent; the plan matches all 9 dimensions; no open question changes the approach.

Anti-patterns: leading questions that steer the answer, rubber-stamp confirmation, over-grilling a trivial change past 3 rounds.

Constraints

  • NEVER start coding without defined scope and success criteria
  • NEVER plan without identifying external dependencies first
  • ALWAYS document trade-offs for non-obvious decisions
  • NEVER accept "it should be fast" — quantify: p95 < Xms
  • ALWAYS identify what's OUT of scope (prevents creep)
  • ALWAYS classify assumptions as verified | unverified | critical before including them in a plan
  • NEVER include unverified claims about third-party software capabilities in a plan — verify against official docs first

Overview

Pre-coding planning reduces rework by surfacing assumptions, constraints, and trade-offs before writing code. This skill structures the discovery-to-plan pipeline using ADRs, RFCs, and multi-level planning templates.

Quick Reference

Artifact Purpose Audience
ADR Record architectural decisions with context + alternatives Engineering team
RFC Propose designs with trade-off analysis + stakeholder feedback Cross-team stakeholders
TRD Translate requirements into implementable specification Developers

Workflow

  1. Feature Existence Check (MANDATORY) — Scan the plan for ALL named third-party tools, services, and specific capabilities. For each found: verify the capability exists in official docs BEFORE planning. If zero external references found → proceed (no third-party claims to verify). If any external reference found and capability does not exist → BLOCK planning, notify user, propose alternatives. This step cannot be skipped or deferred.
  2. Conduct pre-coding interview (understand need → scope → constraints)
  3. Choose planning depth (standard for single feature, deep for cross-team)
  4. Write ADR for each architecturally-significant decision
  5. Draft RFC if the change affects multiple teams or systems
  6. Output structured plan with milestones, risks, and dependencies
  7. Share with stakeholders for review before coding begins
  8. Assumption Audit — Review the plan for: (a) every external tool mentioned → is capability verified? (b) every "will" or "can" statement → is it a claim or a plan step? (c) every dependency → is it confirmed available? Output: ## Assumptions: <list> | Status: <verified/unverified per item>. If any unverified assumption affects a milestone → BLOCK plan.

Anti-patterns

FAIL: Writing code directly from a Slack thread without scope definition PASS: Always write a 3-line scope doc before touching the editor

FAIL: Plan: "Build import page"
PASS: Plan: "Build import page — In: file upload, validation summary, error states. Out: scheduling, deduplication"

FAIL: Accepting "it should be fast" without a target PASS: Quantify: "p95 response time must be <300ms under 1000 RPS"

FAIL: "Make the report export faster" — no baseline, no target
PASS: "Reduce p95 from 800ms to <300ms — verified by k6 load test"

FAIL: Planning in isolation then surprising stakeholders with the design PASS: Share RFC early; invite feedback before committing to implementation

FAIL: Week 1: design in private. Week 3: present to team → rejected
PASS: Day 1: one-pager RFC. Day 3: async feedback. Day 5: final ADR

FAIL: Accepting user claims about third-party software capabilities without verification PASS: Verify against official docs before planning; flag unverified claims as UNVERIFIED PREMISE

FAIL: "Tool X has daemon mode with Web UI" — accepted without checking Tool X docs
PASS: "Tool X daemon mode: verify against official docs before including in plan"

References

Verification Checklist

  • [ ] Pre-coding interview completed: understood need, scope boundaries, and technical constraints
  • [ ] Scope document explicitly states what is IN and OUT of scope
  • [ ] ADR written for each architecturally-significant decision with alternatives considered
  • [ ] External dependencies identified and confirmed before planning milestones
  • [ ] Step 0 MANDATORY: all third-party tool capabilities verified against official docs (no conditional skip)
  • [ ] Success criteria quantified (e.g., p95 < 300ms, not "make it fast")
  • [ ] RFC shared with stakeholders for feedback before coding begins
  • [ ] Risks documented with specific mitigation strategies
  • [ ] Assumption Audit completed: all external claims verified, all "will/can" statements classified as claims vs plan steps

Troubleshooting

Symptom Likely cause Fix
Scope creep mid-implementation OUT-of-scope items not explicitly stated in planning phase Add explicit OUT section to scope doc; defer new requests to follow-up iteration
Stakeholder rejects design after implementation RFC shared too late or not shared at all Share one-pager RFC early in planning phase; schedule async feedback window
Team misses deadline by 2x Dependencies not identified during planning Map all external dependencies upfront; add buffer time for unblocking blocked items
ADR documented but not followed (known issue: ADR becomes shelfware) ADR not linked to implementation tasks or review gates Convert ADR decisions to checklist items in the implementation plan; review ADR compliance at code review stage
[WARN] Gotcha: planning with fake precision (estimates in hours) creates false confidence Overly precise estimates ignored; low-precision estimates (t-shirt sizes) more accurate Use t-shirt sizing (S/M/L/XL) for early estimates; only commit to hours after spike/prototype validates scope

04 同仓库更多 Skills

ronsilver
ronsilver/agent-covenant

web-browsing-agent-expert

Web browsing for AI agents: driving a headless browser (Playwright, Puppeteer) from agent tooling, navigation and page-state grounding, DOM extraction and structured data capture, form interaction, session and cookie management, anti-bot mitigation awareness, and safe browsing rules (no PII exfiltration, respect robots and terms). Use when building a browsing tool or MCP server for an agent, teaching an agent to navigate and read web pages, extracting structured content from dynamic sites, or handling login walls and pagination in agent workflows. Trigger: web browsing agent, headless browser, Playwright MCP, Puppeteer, browser automation for agents, DOM extraction, page navigation, session management. Do NOT trigger for: end-to-end UI testing of an application (use playwright-expert); writing standalone scraping scripts for data pipelines (use python-expert); fetching a single public URL (use the fetch tool).

★ 1
ronsilver
ronsilver/agent-covenant

vector-databases

Design and operate vector databases for cloud-native AI features. Use when selecting between pgvector, Pinecone, or Weaviate for AI context layer or integration-hub; designing embedding schemas and index parameters; implementing ANN search with metadata filtering; managing embedding model versions; optimizing query latency; or debugging low retrieval quality. Pairs with rag-architecture for pipeline design and postgres-database-expert for pgvector specifics. Trigger: vector database, pgvector, Pinecone, Weaviate, embedding, ANN search, HNSW, cosine similarity. Do NOT trigger for: relational SQL optimization, standard PostgreSQL schema design, Redis caching.

★ 1
ronsilver
ronsilver/agent-covenant

typescript-expert

Full-stack TypeScript stack for modern projects: frontend SSR/CSR with Next.js 14 App Router and React, backend APIs with Node.js (Express/Fastify), state management with Zustand/Redux Toolkit, unit and integration testing with Vitest/Jest + React Testing Library + MSW, and static analysis with ESLint/Prettier/tsc. Use when building React components or hooks, implementing Next.js App Router or Server Components, writing Node.js REST API handlers, implementing middleware (auth, rate-limit, logging), managing client state (Zustand/RTK), writing frontend/backend tests, or running TypeScript linting/type checks. Trigger: TypeScript, Next.js, React, Zustand, Node.js, Express, Fastify, MSW, Vitest. Do NOT trigger for: Python backend development, Go microservices, iOS/mobile development.

★ 1
ronsilver
ronsilver/agent-covenant

tool-usage

Guide correct tool selection, design, and orchestration for AI agents. Use when choosing between dedicated vs Bash tools, designing MCP tool interfaces, naming tool parameters, handling tool response limits, orchestrating parallel vs sequential calls, evaluating tool accuracy, applying ACI design principles, selecting workflow patterns, or reading/filtering/transforming/generating structured data (JSON, YAML, CSV, TOML, XML). Trigger: tool selection, MCP tool design, orchestration, ACI, parallel execution, composite tool, structured data, jq, yq, dasel, mlr, csvkit. Do NOT trigger for: writing application business logic, domain-specific development (route to domain skill), database migrations.

★ 1
ronsilver
ronsilver/agent-covenant

token-efficiency

Enforce token-efficient output, compression, caching, and model routing. Use when calibrating response verbosity, applying compression strategies to logs or RAG chunks, routing tasks to the right model tier, setting thinking budgets, enforcing word limits, compressing context before reinitiation, applying KV-cache ordering, masking tool output observations, or applying clarification-first protocol before irreversible actions. Trigger: token efficiency, compression, model routing, thinking budget, KV-cache, clarification protocol. Do NOT trigger for: non-agent tooling, CI/CD pipeline scripting, infrastructure provisioning.

★ 1
ronsilver
ronsilver/agent-covenant

time-series-db

Time-series database patterns for cloud-native metrics and analytics: TimescaleDB, InfluxDB, and Amazon Timestream selection; continuous aggregates, retention policies, downsampling, and integration with Prometheus/Grafana. Use when storing business metrics over time, building custom business dashboards, designing high-frequency event storage, or querying time-bucketed aggregations. Trigger: time-series, TimescaleDB, InfluxDB, Prometheus, Grafana, hypertable, continuous aggregate, retention policy. Do NOT trigger for: relational PostgreSQL schema design, NoSQL document stores, Kafka event streaming.

★ 1