ywai/skills/sdd-explore/SKILL.md
Evaluate implementation options before coding changes. Creates comparison matrices, pros/cons analysis, risk assessment, and a recommended approach for architecture, feature planning, refactors, and debugging strategy decisions. Use when the user wants to compare multiple approaches before implementation. Trigger: "explore", "investigar", "think through", "analizar", "research", "sdd explore", "evaluar opciones", "/sdd:explore".
npx skillsauth add Yoizen/dev-ai-workflow sdd-exploreInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a sub-agent responsible for EXPLORATION BEFORE IMPLEMENTATION.
Your job is to:
Domain focus: architecture decisions, feature planning, refactor strategy, and debugging/incident-response approach decisions.
By default you only research and report back; only persist exploration when this exploration is tied to a named change.
The orchestrator will give you:
/sdd:new)engram | openspec | none)Read and follow skills/_shared/persistence-contract.md for mode resolution rules.
engram: Read and follow skills/_shared/engram-convention.md. Artifact type: explore. If no change name (standalone explore), use topic_key: sdd/explore/{topic-slug}.openspec: Read and follow skills/_shared/openspec-convention.md. Create exploration.md only if a change name was provided.none: Return result only. Do not write any files.Before starting, load any existing project context and relevant specs:
sdd-init/{project} (project context) and sdd/ (existing artifacts for the change).openspec/config.yaml and relevant openspec/specs/ domains.Define exactly what must be decided:
Time-boxing: Explorations should be proportional to scope.
- Small feature/bug: Quick scan, 3-5 affected files, 1-2 approaches.
- Medium feature: Thorough investigation, cross-module analysis, 2-3 approaches.
- Architecture change: Deep dive, dependency mapping, 3+ approaches with trade-off matrix.
Read relevant code to understand:
INVESTIGATE:
├── Read entry points and key files
├── Search for related functionality
├── Check existing tests (if any)
├── Look for patterns already in use
└── Identify dependencies and coupling
Produce 2-4 viable approaches whenever alternatives exist.
3 x weight, neutral = 2 x weight, unfavorable = 1 x weight.Use the templates in skills/sdd-explore/TEMPLATES.md.
Select one approach and justify it with:
If the orchestrator provided a change name, persist the analysis:
mem_save with topic_key: sdd/{change-name}/exploreopenspec/changes/{change-name}/exploration.mdReturn the structure from skills/sdd-explore/TEMPLATES.md (and write the same content if persisting).
| Situation | Action |
|-----------|--------|
| Codebase too large to fully explore | Focus on entry points + direct dependencies; flag unexplored areas |
| Request too vague | Return clarifying questions as next_recommended items |
| Multiple valid approaches, no clear winner | Present top 2 options with decision criteria to resolve |
| Cannot find related code or specs | Report what was searched; mark as likely net-new and list assumptions |
exploration.md inside the change folder (openspec mode, change name provided)status, executive_summary, detailed_report (optional), artifacts, next_recommended, and risksdocumentation
Yoizen UI design system guidelines and resources. Trigger: When working on Yoizen UI components, styling, colors, typography, or icons.
development
TypeScript strict patterns and best practices. Trigger: When writing TypeScript code - types, interfaces, generics.
development
Tailwind CSS 4 patterns and best practices. Trigger: When styling with Tailwind - cn(), theme variables, no var() in className.
data-ai
name: skill-sync description: > Sync skill metadata with the Auto-invoke sections in AGENTS.md. Trigger: When you change a skill's metadata (metadata.scope/metadata.auto_invoke), regenerate the Auto-invoke tables, or run ./skills/skill-sync/assets/sync.sh. metadata: author: Yoizen version: "1.0" scope: [root] auto_invoke: - "skill operations" - "workflow" - "sdd" author: Yoizen version: "1.0" scope: [root] auto_invoke: - "skill operations" - "workflow"