readme-driven-development
Develop a feature or system README-first — draft, grill, and settle a user-facing README as the canonical design contract before implementation.
- License 许可
- MIT
- 所属仓库
- nseng-ai/ns
- 最近更新
- 2026-10-02
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- readme-driven-development
- description
- Develop a feature or system README-first — draft, grill, and settle a user-facing README as the canonical design contract before implementation.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml43 B
03 SKILL.md 正文
readme-driven-development
Write the README before the software. The README is the canonical, exclusively user-facing contract: it describes the system as if it already exists — what a user sees, runs, and reads — never internal tasks or agent notes.
<!-- Lineage: Grill step melded from upstream grilling (mattpocock/skills, upstream path skills/productivity/grilling/); pin + melded-surfaces registry: docs/agents/matt-pocock-skills.md -->
Loop
- Draft or read. Locate the canonical README; draft one if missing. Write it as the finished product's documentation.
- Grill. Interview the user about every unsettled design decision the README exposes — one question at a time, with a recommended answer framed so a plain "yes" endorses it (never a "no" recommendation followed by "Do you agree?") — until the README is coherent: no contradictions, no silently invented commitments, a clear user-facing story. Explore the codebase instead of asking when the answer is discoverable.
- Settle. Fold answers back into the README. Edit obvious clarity and structure problems directly; ask before resolving contradictions, changing scope, or adding new commitments.
- Report. End with a concise pass report: README path, decisions settled, questions still open or deferred, supporting documents touched, recommended next action.
Rules
- The README is canonical. Supporting documents may hold rationale, examples, and research, but a decision counts as settled only when it appears in — or is explicitly linked from — the README.
- Coherence, not completeness, is the bar. A pass is done when the README reads as believable product documentation; open questions may remain as long as they are visible in the README.
- Execution state lives elsewhere. Track slices, status, and tasks outside the README (roadmap, tracker); the README stays what a user would read.
04 同仓库更多 Skills
pr-make-accountable
Interview a PR author to establish shared understanding of intent and design decisions, then co-author the What / Why / Changes PR body with opt-in Requested reviewer focus.
typescript-style
Opinionated style guide for strict, portable TypeScript. Use when writing, designing, or reviewing TypeScript: type design, boundary validation, error handling, module architecture, and review discipline.
typescript-fake-driven-testing
TypeScript fake-driven testing architecture. Use when writing or reviewing TS code with external dependencies, gateway interfaces, real adapters, in-memory fakes, or CLI scenario tests.
ns-typescript
TypeScript overlay for ns-style projects. Use when editing or reviewing TS in this repo: tsconfig baseline, pnpm/Vitest/oxlint/oxfmt/native tsc commands, relative .ts imports, workspace subpath exports, and the exactOptionalPropertyTypes spread idiom. Repo-specific enforcement (test lanes, time seams, style guard) lives in the host repo's AGENTS.md.
ns-typescript-style-tripwire
Invoke the ns TypeScript style Tripwire against a supplied diff or current branch.
skill-management
Manage skills with `npx skills`: add, edit, remove, rename, update, or list skills (local or GitHub), and the nested `skills/<disposition>/.../<name>/` / flat `.agents/skills/` layout conventions.