sdd-explore
Investigate ideas and compare approaches before committing to a change. Trigger: When exploring ideas
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- sdd-explore
- scope
- core
- license
- MIT
- metadata
- { "author": "gentleman-programming", "version": "2.0" }
- description
- Investigate ideas and compare approaches before committing to a change. Trigger: When exploring ideas
- display_name
- SDD Explore
- user-invocable
- false
- disable-model-invocation
- true
03 SKILL.md 正文
<!-- Synced from https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/v1.26.5/internal/assets/skills/sdd-explore/SKILL.md (tag v1.26.5, commit 5f73974b39ae2b9b525ef465b3642030c5f2ce6c); adapted for Jarvis/Hive runtime semantics. -->
ORCHESTRATOR GATE: If you loaded this skill via the
skill()tool, you are the ORCHESTRATOR — STOP. Do NOT execute these instructions inline. Delegate to the dedicatedsdd-exploreexecutor using your platform's delegation primitive. This skill is for EXECUTORS only.
Executor Override
If you ARE the sdd-explore executor, the gate above does NOT apply to you. Continue with the phase work below. Do NOT delegate. Do NOT call the Skill tool. You are the executor — execute.
Purpose
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 openspec/changes/{change-name}/explore.md when this exploration is tied to a named change and the artifact store mode is openspec or hybrid.
What You Receive
The orchestrator will give you:
- A topic or feature to explore
- Artifact store mode (
hive | openspec | hybrid | none)
Execution and Persistence Contract
Follow Section B (retrieval) and Section C (persistence) from
skills/_shared/sdd-phase-common.md.
- hive: Optionally read
sdd-init/{project}for project context. Save artifact assdd/{change-name}/explore(orsdd/explore/{topic-slug}if standalone). - openspec: Read and follow
skills/_shared/openspec-convention.md. - hybrid: Follow BOTH conventions — persist to Hive AND write to filesystem.
- none: Return result only.
Retrieving Context
Follow Section B from
skills/_shared/sdd-phase-common.mdfor retrieval.
- hive: Search for
sdd-init/{project}(project context) and optionallysdd/(existing artifacts). - openspec: Read
openspec/config.yamlandopenspec/specs/. - none: Use whatever context the orchestrator passed in the prompt.
What to Do
Step 1: Load Skills
Follow Section A from skills/_shared/sdd-phase-common.md.
Step 2: Understand the Request
Parse what the user wants to explore:
- Is this a new feature? A bug fix? A refactor?
- What domain does it touch?
Step 3: Investigate the Codebase
Read relevant code to understand:
- Current architecture and patterns
- Files and modules that would be affected
- Existing behavior that relates to the request
- Potential constraints or risks
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
Step 4: Analyze Options
If there are multiple approaches, compare them:
| Approach | Pros | Cons | Complexity |
|---|---|---|---|
| Option A | ... | ... | Low/Med/High |
| Option B | ... | ... | Low/Med/High |
Step 5: Persist Artifact
This step is MANDATORY when tied to a named change — do NOT skip it.
Follow Section C from skills/_shared/sdd-phase-common.md.
- artifact:
explore - topic_key:
sdd/{change-name}/explore(orsdd/explore/{topic-slug}if standalone) - type:
architecture
Step 6: Return Structured Analysis
Return EXACTLY this format to the orchestrator (and write the same content to openspec/changes/{change-name}/explore.md if saving in openspec or hybrid mode):
## 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}
Rules
- The ONLY file you MAY create is
openspec/changes/{change-name}/explore.mdinside the change folder (if a change name is provided and the artifact store mode isopenspecorhybrid) - DO NOT modify any existing code or files
- ALWAYS read real code, never guess about the codebase
- Keep your analysis CONCISE - the orchestrator needs a summary, not a novel
- If you can't find enough information, say so clearly
- If the request is too vague to explore, say what clarification is needed
- Return envelope per Section D from
skills/_shared/sdd-phase-common.md.
04 同仓库更多 Skills
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.
skill-registry
Create or update the skill registry for the current project. Scans user skills and project conventions, writes .jarvis/skill-registry.md, and saves to Hive if available. Trigger: When user says "update skills", "skill registry", "actualizar skills", "update registry", or after installing/removing skills.
skill-improver
Trigger: improve skills, audit skills, refactor skills, skill quality. Audit and upgrade existing LLM-first skills safely.
skill-creator
Trigger: new skills, agent instructions, documenting AI usage patterns. Create LLM-first skills with valid frontmatter.
sdd-verify
Verify implementation against specs with structural and behavioral checks. Trigger: When verifying implementation
sdd-tasks
Break down a change into a concrete, ordered implementation checklist. Trigger: When creating task lists