Guide iterative specification and CDC (Cahier Des Charges) creation through deep questioning, context analysis, and proactive proposals. Use this skill BEFORE feature-research to clarify requirements, identify prerequisites, define scope, and document complete specifications. Triggers when starting a new feature, task, bug fix, or refactoring and requirements need clarification.
npx claudepluginhub joshuarweaver/cascade-code-testing-misc --plugin laizyio-workflowskillsThis skill uses the workspace's default tool permissions.
Transform vague or incomplete requests into comprehensive, validated specifications through iterative dialogue. This skill produces a CDC (Cahier Des Charges) document in French that serves as the foundation for all subsequent phases.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Transform vague or incomplete requests into comprehensive, validated specifications through iterative dialogue. This skill produces a CDC (Cahier Des Charges) document in French that serves as the foundation for all subsequent phases.
Key difference from feature-research:
feature-specification = WHAT to do (define precisely)feature-research = HOW to do it (technical research)ALWAYS use the AskUserQuestion tool to ask questions to the user.
This tool allows structured questioning with multiple choice options:
multiSelect: true when multiple answers are validExample usage:
AskUserQuestion:
questions:
- question: "Who are the primary users of this feature?"
header: "Users"
options:
- label: "Internal employees"
description: "Staff members using internal tools"
- label: "External customers"
description: "End users of the product"
- label: "Administrators"
description: "Users with elevated privileges"
multiSelect: true
Why this matters:
Example initial analysis:
- Found: package.json → Node.js/React project
- Found: src/modules/auth/ → Authentication module exists
- Found: PostgreSQL migrations → Database with existing schema
Ask questions across these categories. See references/questioning-guide.md for complete guide.
2.1 Motivation & Objectives
2.2 Users & Personas
2.3 Detailed Functionality
2.4 Constraints & Limits
2.5 Integration & Dependencies
2.6 Edge Cases & Exceptions
Questioning principles:
Explore the codebase to inform specifications:
Find similar implementations
Glob: **/*Service.ts, **/*Controller.cs
Grep: "similar-feature-name"
Understand existing patterns
Identify integration points
Be a force of proposal, not just passive. See references/proposal-techniques.md.
Propose simplifications:
"Rather than a complete notification system, I suggest starting with
emails only. This validates the concept before adding push/SMS."
Suggest alternatives:
"I noticed you don't have a queue system. For emails, I suggest using
Hangfire which is already configured in the project."
Identify quick wins:
"We could reuse the existing EmailTemplate component from the
password-reset feature."
Anticipate problems:
"If we store files locally, this won't work with multiple server
instances. Consider using Azure Blob Storage instead."
Compile all gathered information into a CDC document.
CDC.md using template from references/cdc-template.mdAdapt questions based on discovered project context:
If PostgreSQL detected:
"This feature will need new database tables. Have you thought about the data model?"
If React + TypeScript detected:
"Should we include E2E tests with Playwright for this feature?"
If similar feature found:
"I found a similar feature in
src/modules/orders. Should we follow the same pattern?"
If authentication exists:
"Should this feature be restricted to authenticated users? Specific roles?"
The skill produces CDC.md containing:
See references/cdc-template.md for the complete template.
Phase 0: Specification (this skill)
↓ CDC.md
Phase 1: Research (feature-research)
↓ findings.md
Phase 2: Planning (implementation-planner)
...
The CDC becomes input for feature-research, providing clear requirements for technical research.
references/cdc-template.md - Complete CDC template in Frenchreferences/questioning-guide.md - Detailed questioning strategies by categoryreferences/proposal-techniques.md - Techniques for being proactive