discover-design

Bootstraps a design corpus by discovering concepts, stories, and decisions from a codebase.

1|Updated Jul 21, 2026
One-click install
npx skills add https://github.com/fallguyconsulting/ok-plugins --skill discover-design-fallguyconsulting
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: discover-design
Source: https://github.com/fallguyconsulting/ok-plugins/tree/main/plugins/ok/families/ok-planner/skills/discover-design
Command: npx skills add https://github.com/fallguyconsulting/ok-plugins --skill discover-design-fallguyconsulting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Projects accumulate implicit design knowledge scattered across code, comments, and prose, with no durable record of what the system actually is. This Skill autonomously reads the entire codebase and produces an as-is design corpus — concept, story, and decision catalogs — plus an issue intake of open questions, without overwriting anything humans have already refined. ## Core Features & Use Cases - Two-phase autonomous discovery: Phase 1 writes thorough as-is scaffolding under .ok-planner/design/_discover/; Phase 2 extracts durable concept, story, and decision catalogs, each with a produce → review → fix loop capped at 3 cycles. - Issue intake filing: Ambiguities, muddiness, and the run's own confessed uncertainty become issue files under .ok-planner/issues/ with kind: "discover" and status: open, ready for /verify-issues and sprint resolution. - Safety guarantees: Aborts rather than overwrite non-empty human-edited catalogs, runs end-to-end with no mid-run prompts, and regenerates catalog TOCs (concepts.md, stories.md, decisions.md) for fast lookup. - Use Case: Point it at a legacy project with no design documentation; it produces a complete as-is corpus of load-bearing concepts, user-observable stories, and technical decisions, plus a backlog of judgment questions for the owner. ## Quick Start Run /discover-design in a project that has no .ok-planner/design/concepts directory to bootstrap the full design corpus.

Frequently Asked Questions about discover-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate design documentation from an existing codebase?▼

Run /discover-design in a project without an existing .ok-planner/design/concepts directory. It reads all code and prose, writes discovery scaffolding, then extracts concept, story, and decision catalogs autonomously, reporting counts and open issues at the end.

What artifacts does the design discovery process produce?▼

It produces scaffolding under .ok-planner/design/_discover/, durable concept, story, and decision catalogs with generated TOC files, and issue files under .ok-planner/issues/ for ambiguities and unresolved judgment questions.

Will discover-design overwrite my existing design documents?▼

No. If concepts/, stories/, or decisions/ is non-empty, the skill aborts and tells you to delete those directories for a full rerun. It never overwrites human-edited artifacts and never edits existing issue files.

Can I re-run design discovery after architecture changes?▼

Yes, but only while no sprint has produced human-approved artifacts. Re-running is idempotent on the _discover/ scaffolding: it deepens existing entries and adds new ones, then re-extracts the catalogs.

What happens to questions the discovery run cannot answer?▼

They become issue files with kind "discover" and status open under .ok-planner/issues/. The /verify-issues skill makes each ruling-ready, and sprints close them; the discovery skill itself never proposes resolutions.