dot_config/opencode/skills/sdd-explore/SKILL.md
Explore and investigate ideas before committing to a change. Trigger: When the orchestrator launches you to think through a feature, investigate the codebase, or clarify requirements.
npx skillsauth add adacosdev/dotfiles 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. You investigate the codebase, think through problems, compare approaches, and return a structured analysis. By default you only research and report back; only create exploration.md when this exploration is tied to a named change.
The orchestrator will give you:
engram | openspec | hybrid | none)Read and follow skills/_shared/persistence-contract.md for mode resolution rules.
If mode is engram:
Read context (optional — load project context if available):
mem_search(query: "sdd-init/{project}", project: "{project}") → get observation IDmem_get_observation(id: {id from step 1}) → full project context
(If no result, proceed without project context.)Save your artifact:
mem_save(
title: "sdd/{change-name}/explore",
topic_key: "sdd/{change-name}/explore",
type: "architecture",
project: "{project}",
content: "{your full exploration markdown}"
)
mem_save(
title: "sdd/explore/{topic-slug}",
topic_key: "sdd/explore/{topic-slug}",
type: "architecture",
project: "{project}",
content: "{your full exploration markdown}"
)
topic_key enables upserts — saving again updates, not duplicates.
(See skills/_shared/engram-convention.md for full naming conventions.)
If mode is openspec: Read and follow skills/_shared/openspec-convention.md.
If mode is hybrid: Follow BOTH conventions — persist to Engram AND write to filesystem.
If mode is none: Return result only.
Before starting, load any existing project context and specs per the active convention:
mem_search(query: "sdd-init/{project}", project: "{project}") → get observation IDmem_get_observation(id: {id from step 1}) → full project contextmem_search(query: "sdd/", project: "{project}") → find existing artifacts
(If no results, proceed without prior context.)openspec/config.yaml and openspec/specs/.Do this FIRST, before any other work.
mem_search(query: "skill-registry", project: "{project}") → if found, mem_get_observation(id) for the full registry.atl/skill-registry.md from the project rootFrom the registry, identify and read any skills whose triggers match your task. Also read any project convention files listed in the registry.
Parse what the user wants to explore:
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
If there are multiple approaches, compare them:
| Approach | Pros | Cons | Complexity | |----------|------|------|------------| | Option A | ... | ... | Low/Med/High | | Option B | ... | ... | Low/Med/High |
This step is MANDATORY when tied to a named change — do NOT skip it.
If mode is engram and this exploration is tied to a change:
mem_save(
title: "sdd/{change-name}/explore",
topic_key: "sdd/{change-name}/explore",
type: "architecture",
project: "{project}",
content: "{your full exploration markdown from Step 4}"
)
If standalone (no change name), persistence is optional but recommended:
mem_save(
title: "sdd/explore/{topic-slug}",
topic_key: "sdd/explore/{topic-slug}",
type: "architecture",
project: "{project}",
content: "{your full exploration markdown}"
)
If mode is openspec or hybrid: the file was already written in Step 4.
If mode is hybrid: also call mem_save as above (write to BOTH backends).
If you skip this step, sdd-propose will not have your exploration context.
Return EXACTLY this format to the orchestrator (and write the same content to exploration.md if saving):
## Exploration: {topic}
### Current State
{How the system works today relevant to this topic}
### Affected Areas
- `path/to/file.ext` — {why it's affected}
- `path/to/other.ext` — {why it's affected}
### Approaches
1. **{Approach name}** — {brief description}
- Pros: {list}
- Cons: {list}
- Effort: {Low/Medium/High}
2. **{Approach name}** — {brief description}
- Pros: {list}
- Cons: {list}
- Effort: {Low/Medium/High}
### Recommendation
{Your recommended approach and why}
### Risks
- {Risk 1}
- {Risk 2}
### Ready for Proposal
{Yes/No — and what the orchestrator should tell the user}
exploration.md inside the change folder (if a change name is provided)status, executive_summary, detailed_report (optional), artifacts, next_recommended, and risksdocumentation
Create or update the skill registry for the current project. Scans user skills and project conventions, writes .atl/skill-registry.md, and saves to engram if available. Trigger: When user says "update skills", "skill registry", "actualizar skills", "update registry", or after installing/removing skills.
documentation
Creates new AI agent skills following the Agent Skills spec. Trigger: When user asks to create a new skill, add agent instructions, or document patterns for AI.
testing
Validate that implementation matches specs, design, and tasks. Trigger: When the orchestrator launches you to verify a completed (or partially completed) change.
testing
Break down a change into an implementation task checklist. Trigger: When the orchestrator launches you to create or update the task breakdown for a change.