idea-to-blueprint – skill Lập trình cho agent AI
Biến ý tưởng sản phẩm, ứng dụng, bot hoặc tính năng thô thành một bản thiết kế xây dựng có bằng chứng (ngăn xếp đã nghiên cứu, epic, tiêu chí Given/When/Then, kiểm thử) để các tác nhân lập trình xây dựng mỗi lần một epic trong mỗi phiên.
Cài skill idea-to-blueprint bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/idea-to-blueprint-f1c1f.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /idea-to-blueprint – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/idea-to-blueprint-f1c1f.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $idea-to-blueprint – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/idea-to-blueprint-f1c1f.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /idea-to-blueprint – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/idea-to-blueprint-f1c1f.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /idea-to-blueprint – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Idea to Blueprint
Overview
Turn a raw idea into a single markdown document that is complete enough for a coding agent to build the product epic by epic, in fresh sessions, without ever having to guess. The blueprint is not a "PRD" in the loose sense: it is the product's only shared memory between the human, the research, and every future build session.
The skill runs intake questions, web research and competitor benchmarking, then writes one Markdown blueprint: architecture drivers and style, a version-pinned stack with evidence tags, a quality gate, personas, flows, UX copy, edge cases, and epics broken into stories with Given/When/Then acceptance criteria, tests and a Definition of Done. The blueprint embeds a session protocol so Claude Code or Codex builds it one epic per fresh session.
This is the author's own skill, published at [iniesohidham/idea-to-blueprint](https://github.com/iniesohidham/idea-to-blueprint) under the MIT license (see LICENSE). The bundled files derive from upstream, with catalog maintenance corrections to safety, examples and validation; this SKILL.md adds the catalog sections (Overview, When to Use, Examples, Limitations, safety notes) around the upstream instructions.
When to Use This Skill
- Use when someone shares a product, app, bot or feature idea (even 2–3 lines) and wants a PRD, spec, backlog, epics, user stories, roadmap or MVP plan, even without saying "PRD".
- Use when the user wants deep web research, market research or competitor benchmarking before anything is built.
- Use when the user wants an architecture or tech-stack recommendation with justification and pinned versions, or code-quality and review standards for a new product.
- Use when the user asks for "a plan for Claude Code/Codex" that a coding agent can execute one epic at a time.
- Prefer it over lighter PRD skills when research depth, rigor or zero hallucination matters.
- Do not use it to review an existing PRD, to compare two frameworks in isolation, or to write a single piece of UX copy.
How It Works
Use the configured model and effort settings, respecting the user’s budget and preferences. A planning skill does not authorize changing host settings.
Why this document has to be different
A build session that starts from a blank context has exactly two sources of truth: the repo and this blueprint. Whatever is missing, vague, or wrong in the blueprint becomes a guess in code. So the whole skill is organized around three habits:
1. Evidence or silence. Every claim about the outside world (a library, a version, a competitor, a regulation, a market figure, a service's availability in a country) carries an evidence tag: [VERIFIED — <source>, <date>], [ASSUMED — <why>], or [UNKNOWN → OQ-nn] (routed to Open Questions). You never fill a gap with a plausible-sounding guess, because the reader has no way to tell your guess from a fact.
2. Decide, don't hedge. "Use X or Y" pushes the decision onto an agent with less context than you have now. Make the call, record the alternatives and why they lost.
3. Write for zero context. No "as discussed", no "the usual way". Every ID (persona, flow, screen, copy line, story, criterion) is unique and cross-referenced so a fresh session can resolve everything by search.
Everything below serves those three habits.
Workflow
| Phase | What happens | Reference to read |
|---|---|---|
| 0. Intake | Parse the idea, do a 2–5 search warm-up, ask ONE batch of questions with defaults, wait | references/intake-questions.md |
| 1. Deep research | Understand the domain, benchmark competitors, derive the architecture drivers and shape, choose the stack for agentic engineering, verify the quality tooling, integrations and locale realities, collect UX benchmarks | references/research-protocol.md, references/architecture-decisions.md, references/code-quality-and-review.md |
| 2. Decision brief | Present the interpretation, personas, positioning, architecture drivers and shape, stack, quality gate, epic list and open questions in chat; get a go/correct | (template below) |
| 3. Write the blueprint | Write the document section by section, in chunks, into one .md file | references/blueprint-template.md plus the topic references it points to |
| 4. Lint & deliver | Run scripts/lint_blueprint.py, fix every error, deliver the file with a short wrap-up | (below) |
| 5. Build sessions | The user runs one epic per fresh Claude Code / Codex session using the protocol embedded in the blueprint | references/session-protocol.md |
Use phases 0 and 2 to resolve material unknowns. Reuse answers and authorization already supplied; do not assume every user requested a separate approval checkpoint. Do not run the phases out of order: research before the intake answers wastes searches on the wrong problem; writing before the brief is approved wastes the document.
Talk to the user in the language they wrote in. Persian in → Persian out for all chat and for the human-facing prose of the document (see Language convention).
Phase 0 — Intake
Read references/intake-questions.md before asking anything. The rules that matter most:
- Warm up first. Run 2–5 quick searches on the idea so the questions are concrete ("I see three products in this space — A, B, C — which is closest to what you mean?") instead of generic.
- One batch, defaults on every question. Group the questions, put a sensible default next to each, and say that answering "defaults" or skipping any question is fine. Never ask in dribs and drabs.
- Never ask what is already answered or inferable. Cues from the message decide: language, currency, city names, local services, ".ir" domains, Jalali dates, "کاربر ایرانی" → the users are probably Iranian, so ask to *confirm* it in one line rather than asking "where are your users?".
- Ask only what changes the architecture, the personas, or the scope. A big product needs about 10–15 questions; a single feature needs 3–6.
- Where an elicitation UI tool exists (tappable options), use it for the closed questions; put open questions in prose right after.
When the answers arrive, write every unanswered item as an [ASSUMED — …] row in your notes; those rows become the Assumptions section later.
Phase 1 — Deep research and benchmarking
Read references/research-protocol.md and follow its seven tracks in order:
- A. Understand the idea — domain concepts, vocabulary (this becomes the Glossary), how the problem is solved today, adjacent regulation to flag (never legal advice).
- B. Benchmark — 5–10 direct and indirect competitors (global, plus local ones when the market is Iran or another specific country), a feature matrix, best-in-class behaviour per key flow, common user complaints (paraphrased from reviews, never quoted), the gap this product fills, a positioning statement.
- C. Architecture drivers and shape (
references/architecture-decisions.md) — derive ranked, *measurable* quality-attribute drivers from the personas, the scale ceiling, the failure cost of the core loop and the hosting reality; name the explicit non-drivers; score 2–3 candidate architecture styles against them; decide the shape, the module boundaries and the exit triggers that would justify revisiting it. Verify the framework's own recommended structure and whether boundary rules can be enforced mechanically in the candidate languages. - D. Stack for agentic engineering — choose the language, framework, database, testing and tooling using the weighted criteria in the protocol (mainstream + heavily documented, strict static typing, one-command deterministic
check, fast tests, LTS/stable, few dependencies, hosting fit for the market) and the drivers from C. Verify current stable versions, deprecations and licenses, and pin them. - E. Quality bar and tooling (
references/code-quality-and-review.md) — verify the tools that make the gate real for the chosen stack (formatter, strict lint config, typechecker flags, test runner, coverage, mutation testing if a maintained one exists, SAST and dependency audit, secret scanning, duplication detection, accessibility checks, architecture-rule library), the language's official style guide, the CI capability of the chosen host, the current security baseline for the category, and — only if the document will quote them — the current delivery-metric definitions and the current evidence on AI-authored code quality. - F. Integrations and locale realities — payments, SMS/OTP, email, maps, push, app stores, hosting/CDN. For Iran, availability of foreign services changes with sanctions and filtering; verify today's status for each one you rely on and record the date.
- G. UX benchmarks — onboarding, empty states, error handling and accessibility norms from the best products in the space.
C before D matters. Choosing the framework first and then writing drivers that happen to justify it is the most
… (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- idor-testing – Cung cấp phương pháp có hệ thống để xác định và khai thác lỗ hổng Insecure Direct Object…
- stress-test – /em:stress-test: Kiểm tra độ bền các giả định kinh doanh. Dùng trước khi đặt cược vào kế…
- improve-codebase-architecture – Quét codebase để tìm cơ hội tối ưu kiến trúc, trình bày dưới dạng báo cáo HTML trực…
- strict-api – Dùng khi người dùng nói 'no hallucinations', 'verify APIs', 'reality check' hoặc 'don't…
- incident-response-smart-fix – Điều tra sự cố production, tái hiện nguyên nhân gốc, triển khai bản sửa có phạm vi rõ…
- stripe-integration-expert – Tích hợp Stripe chuẩn production: subscription với trial và proration, thanh toán một…
- instructree – Lập bản đồ, giải thích và kiểm tra lint các hướng dẫn coding-agent theo phạm vi…
- interactive-portfolio – Chuyên gia xây dựng portfolio giúp tìm được việc và khách hàng, không chỉ trưng bày sản…