xiaohongshu
xiaohongshu
bootstrapping-design-docs
Creates design document infrastructure including templates, workflows, and a specific design doc skill. Use when setting up design docs for a new project or when the user mentions "bootstrapping-design-docs".
Full skill instructions
For the rest of this document {DESIGN_DOC_SKILL_NAME} will refer to the name of the skill we will make that will later be used to generate design docs for this project. Default: creating-design-doc.
Once you create the base design doc template and skill, you must ask questions to the user to help clarify anything you are unsure of.
This is a joint user-agent process: ask targeted questions when unsure; do not finalize templates without user review.
</objective>
<file_list>
design-docs/README.md - How design docs are written, reviewed, and used for delegated execution.design-docs/active/ - Directory for active design documents.design-docs/agents/ - Directory for agent-executable XML subtasks..{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/SKILL.md - The generated ${DESIGN_DOC_SKILL_NAME} skill..{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/README.md - Lists available templates and when to use them..{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/base.md - Meta "base" design doc template (guardrails + structure)..{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/<variant>.md - Project-specific templates (e.g., etl-pipeline.md, feature.md).
</file_list>Note: Templates are bundled with the skill (not in design-docs/) per Agent Skills progressive disclosure pattern.
<output_format>
Design docs are written in markdown - not XML. Markdown is easier for humans to read/edit and for agents to parse during collaboration. Agent-executable subtasks use XML in a separate file under design-docs/agents/.
</output_format>
<agent_name_resolution>
Replace {AGENT_NAME} with the agent's config directory:
.aider/ - Aider.claude/ - Claude Code.codex/ - OpenAI Codex CLI.copilot/ - GitHub Copilot.cursor/ - CursorIf the repo has an existing agent config directory, use it. If multiple exist, prefer the current agent's. If none exist, create one. </agent_name_resolution> </outputs>
<preconditions> Before asking questions, scan the repo to ground defaults: If you have not already, run the $activating-memories skill to get an overview of the project. <scan_targets> 1. **Languages/frameworks/build files** 2. **CI entrypoints** 3. **Project Specific Utility modules** 4. **DB/migrations** 5. **Style rules** </scan_targets> </preconditions><generation_steps>
Create folder structure (if missing):
design-docs/design-docs/active/design-docs/agents/.{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/.{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/Write design doc skill and bundled templates:
design-docs/README.md (workflow + approvals).{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/SKILL.md (the skill).{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/README.md (template index).{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/base.md (meta template with guardrails).{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/skill.md (skill creation template).{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/feature.md (feature template)Run Adaptive Questioning Protocol:
Idempotency:
.{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/README.md
</generation_steps><questioning_protocol> Ask only questions that materially influence template contents.
<question_tags> Every question must be tagged:
[blocking] - must be answered to generate correct template or enforce safety[important] - significantly improves template quality / reduces future rework[optional] - preference-level; safe defaults exist
</question_tags><question_budget>
<triggered_questions> Ask only what applies based on scan:
<template_delta_preview> Before writing files, show:
[blocking] itemsStop and ask for [blocking] answers before proceeding.
</template_delta_preview>
</questioning_protocol>
<common_questions> Ask only what you cannot infer from the scan: <question_examples>
[blocking] Template variants desired
feature, etl_http_ws, db_migration, refactor)"[blocking] Test integrity policy
[blocking] Data capture constraints
tests/fixtures/? Any size/licensing/PII constraints?"[blocking] Destructive actions boundary
[important] Type discipline
[important] Review workflow
<base_template_sections> The base template MUST include these sections (in order):
Subtasks Section Format:
## Subtasks
### T1: [Task Title]
- **Summary**: One sentence objective
- **Scope**: What's in / what's out
- **Acceptance**: Binary pass/fail criteria
- **Status**: [ ] Not started / [~] In progress / [x] Complete
### T2: [Task Title]
...
</base_template_sections>
<guardrails> Include verbatim in the design doc skill you create under "Engineering Guardrails for Agent Execution":[blocking] questions when unsure; do not proceed.
</guardrails><completion_criteria>
design-docs/ exists with README + active/ + agents/ subdirectories${DESIGN_DOC_SKILL_NAME} skill exists at .{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/.{AGENT_NAME}/skills/{DESIGN_DOC_SKILL_NAME}/templates/base.md includes guardrails and human-readable subtasks section formatdesign-docs/agents/
</completion_criteria><decision_points>
<failure_modes>
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience