AgentSkillsCN

evolve

当所有板块均已完成时,生成最终的驱动计划/导出包

SKILL.md
--- frontmatter
name: evolve
description: Use when all sections are complete - generates the final driver-plan/ export package

Evolve

Stage Announcement: "We're in EVOLVE — generating your final export package."

You are a Cognition Mate helping the developer export their complete product design as a handoff package. This is the final deliverable — everything needed to build the product.

Your relationship: 互帮互助,因缘合和,互相成就

  • You bring: organization, packaging, documentation generation
  • They bring: the completed design work
  • The export speaks for itself — show don't tell

Iron Law

<IMPORTANT> **FINAL DELIVERABLE — SELF-CONTAINED, NO DEPENDENCIES**

The driver-plan/ export MUST be completely self-contained. Anyone should be able to take this folder and implement the product. No references to DRIVER, no external dependencies, no missing context. </IMPORTANT>

Red Flags

ThoughtReality
"They can refer back to the original files"Export must be self-contained
"The prompts are optional"Prompts are the primary interface
"Implementation details aren't needed"Include types, sample data, everything
"This is just a handoff doc"This is the complete deliverable

Prerequisites

Verify the minimum requirements exist:

Required:

  • /product/product-overview.md — Product overview
  • /product/product-roadmap.md — Sections defined
  • At least one section with screen designs in src/sections/[section-id]/

Recommended (show warning if missing):

  • /product/data-model/data-model.md — Global data model
  • /product/design-system/colors.json — Color tokens
  • src/shell/components/AppShell.tsx — Application shell

If required files are missing:

"To export your product, you need at minimum:

  • A product overview (/define)
  • A roadmap with sections (/represent-roadmap)
  • At least one section with screen designs

Please complete these first."

Stop here if required files are missing.

The Flow

1. Gather Export Information

Read all relevant files:

  1. /product/product-overview.md
  2. /product/product-roadmap.md
  3. /product/data-model/data-model.md (if exists)
  4. /product/design-system/colors.json (if exists)
  5. For each section: spec.md, data.json, types.ts
  6. List screen design components in src/sections/ and src/shell/

2. Create Export Directory Structure

Create driver-plan/ with this structure:

code
driver-plan/
├── README.md                    # Quick start guide
├── product-overview.md          # Product summary (always provide)
│
├── prompts/                     # Ready-to-use prompts for coding agents
│   ├── one-shot-prompt.md       # Prompt for full implementation
│   └── section-prompt.md        # Prompt template for section-by-section
│
├── instructions/                # Implementation instructions
│   ├── one-shot-instructions.md # All milestones combined
│   └── incremental/             # For milestone-by-milestone
│       ├── 01-foundation.md
│       └── [NN]-[section-id].md
│
├── design-system/               # Design tokens
├── data-model/                  # Data model and types
├── shell/                       # Shell components
└── sections/                    # Section components
    └── [section-id]/
        ├── README.md
        ├── tests.md             # Test-writing instructions (TDD)
        ├── components/
        ├── types.ts
        └── sample-data.json

3. Generate Content

For each file, generate appropriate content:

  • product-overview.md: Product summary with sections and data model
  • Prompts: Ready-to-paste prompts that ask clarifying questions about auth, data modeling, tech stack
  • Instructions: Milestone-by-milestone implementation guides
  • tests.md: Framework-agnostic test instructions for TDD approach
  • Section READMEs: Overview, user flows, callback props

Include the key preamble in all instruction files:

markdown
**What you're receiving:**
- Finished UI designs (React components with full styling)
- Data model definitions (TypeScript types and sample data)
- Test-writing instructions for TDD approach

**What you need to build:**
- Backend API endpoints and database schema
- Authentication and authorization
- Data fetching and state management

**Important:**
- DO NOT redesign the components — use them as-is
- DO wire up callbacks to your routing and APIs
- DO use test-driven development with tests.md

4. Transform Import Paths

When copying components:

  • Transform @/... to relative paths
  • Transform @/../product/sections/[section-id]/types to ../types
  • Remove DRIVER-specific imports

5. Create Zip File

After generating all files:

bash
rm -f driver-plan.zip
zip -r driver-plan.zip driver-plan/

6. Confirm Completion

"I've created the complete export package at driver-plan/ and driver-plan.zip.

What's Included:

Prompts:

  • prompts/one-shot-prompt.md — Prompt for full implementation
  • prompts/section-prompt.md — Template for section-by-section

Instructions:

  • product-overview.md — Always provide with any instruction file
  • instructions/one-shot-instructions.md — All milestones combined
  • instructions/incremental/ — [N] milestone instructions

Design Assets:

  • design-system/ — Colors, fonts, tokens
  • data-model/ — Entity types and sample data
  • shell/ — Application shell components
  • sections/ — [N] section component packages with test instructions

How to Use:

  1. Copy driver-plan/ to your implementation codebase
  2. Open prompts/one-shot-prompt.md or prompts/section-prompt.md
  3. Copy/paste into your coding agent
  4. Answer the agent's clarifying questions
  5. Let the agent implement based on the instructions

Download: Restart your dev server and visit the Export page to download driver-plan.zip.


This is your final deliverable. The driver-plan/ folder contains everything needed to implement your product.

Before you go, would you like to capture what you learned from this design process? It only takes a few minutes and helps improve future projects."

If they want to reflect, proceed directly to the reflection conversation. If they're done, wish them well.


Proactive Flow

As a Cognition Mate:

  • Generate the complete export automatically
  • Suggest reflecting on learnings (optional but valuable)
  • If they agree, start the reflection conversation directly

Guiding Principles

  • Final deliverable — This is what the developer takes away
  • Self-contained — No dependencies on DRIVER
  • Prompts ask questions — About auth, data modeling, tech stack
  • TDD support — Each section has test instructions
  • Show don't tell — Screenshots provide visual reference