Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

sdd-exploreSDD 探索

Agent Skill

sdd-explore 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

428

周安装

18

GitHub Stars

公开资料未说明

下载量

150
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sdd-explore(SDD 探索)
来源仓库:https://github.com/fearovex/claude-config
仓库路径:skills/sdd-explore
安装命令:
npx skills add https://github.com/fearovex/claude-config --skill sdd-explore
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fearovex/claude-config --skill sdd-explore

简介

sdd-explore 分析代码库现状而不产生任何修改,用于前期调研复杂变更影响。

  • 适用于模糊需求下的可行性探索和多方案对比。
  • 仅读取不写入,确保不影响现有系统稳定性。
  • 建议在正式提案前使用此技能降低试错成本。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

sdd-explore

Investigates and analyzes an idea or area of the codebase before committing to changes.

Triggers: /sdd-explore <topic>, explore, investigate codebase, analyze before changing, research feature


Purpose

The exploration phase is optional but valuable. Its goal is to understand the terrain before proposing changes. It creates no code and modifies nothing. It only reads and analyzes.

Use it when:

  • The request is vague or complex
  • You are unsure of the scope of the change
  • You want to understand the impact before committing
  • There are multiple possible approaches

Process

Skill Resolution

When the orchestrator launches this sub-agent, it resolves the skill path using:

1. .claude/skills/sdd-explore/SKILL.md     (project-local — highest priority)
2. ~/.claude/skills/sdd-explore/SKILL.md   (global catalog — fallback)

Project-local skills override the global catalog. See docs/SKILL-RESOLUTION.md for the full algorithm.


Step 0 — Load project context + Spec context preload

Follow skills/_shared/sdd-phase-common.md Section F (Project Context Load) and Section G (Spec Context Preload). Both are non-blocking.

Step 0 sub-step — Handoff context preload

This sub-step is non-blocking: any failure (missing file, unreadable file, no slug) MUST produce at most an INFO-level note. This sub-step MUST NOT produce status: blocked or status: failed.

  1. Resolve the change slug from the invocation context.
  2. Check whether a proposal already exists in engram: mem_search(query: "sdd/<slug>/proposal").
  3. If absent: skip silently — log INFO: no pre-seeded proposal found — proceeding without handoff context.
  4. If present: retrieve via mem_get_observation(id). Treat its content as supplemental intent enrichment:

- It informs what the explore should prioritize, not what the codebase shows. - It MUST NOT override live codebase findings. - Log: Handoff context loaded from engram: sdd/<slug>/proposal

  1. When loaded, include a ## Handoff Context section in the exploration output (placed before ## Current State) summarizing:

- Decision that triggered the change - Goal and success criteria from the seeded proposal - Explore targets listed in the proposal - Constraints ("do not do" items)


Step 1 — Understand the request

I classify what type of exploration is needed:

  • New feature: What already exists? Where would it fit?
  • Bug: Where is the problem? What is the root cause?
  • Refactor: What code is affected? What are the risks?
  • Integration: What exists to connect? What is missing?

Step 2 — Branch Diff scan

This step is non-blocking: any failure (git unavailable, no working tree, empty diff) MUST produce at most an INFO-level note. This step MUST NOT produce status: blocked or status: failed.

  1. Run git status --short to identify modified, staged, and untracked files in the current working tree.
  2. Filter results to files relevant to the domain being explored (match by path prefix, filename, or keyword overlap with the change name).
  3. Classify each file as: modified, staged, deleted, or untracked.
  4. Write output to the ## Branch Diff section.

If git is unavailable or diff is empty: log INFO: branch diff unavailable or empty — skipping Branch Diff section and include an empty ## Branch Diff section with that note.

Output format:

## Branch Diff

Files modified in current branch relevant to this change:
- path/to/file.ts (modified)
- path/to/other.ts (staged, pending deletion)
- path/to/new-file.ts (untracked)

Step 3 — Prior Attempts archive scan

This step is non-blocking: any failure MUST produce at most an INFO-level note.

Search engram for prior archived changes related to this topic:

mem_search(query: "sdd/archive-report", project: "{project}")

Filter results by keyword overlap with the current change slug. For each related result, retrieve via mem_get_observation(id) to check outcome.

Write output to the ## Prior Attempts section.

Output format:

## Prior Attempts

Prior archived changes related to this topic:
- auth-flow-v1: COMPLETED
- auth-flow-v2: ABANDONED

[or: "No prior attempts found."]

Step 4 — Contradiction Analysis

This step is non-blocking: contradictions are informational and MUST NOT cause status: blocked or status: failed. At most, contradictions may cause status: warning.

  1. Compare the user's stated intent (from change description and any pre-seeded proposal) against:

- Loaded feature files from Step 0 (behavioral contracts) - Prior attempt outcomes from Step 3 - ai-context/ files

  1. For each potential contradiction detected, classify severity:

- CERTAIN: the user says "remove X" AND a loaded spec explicitly states "X MUST exist" — no ambiguity - UNCERTAIN: the user intent implies removing or changing X, but there is no explicit spec contract — ambiguous

  1. Assign impact level: INFO (minimal), WARNING (notable), CRITICAL (breaking)
  2. Write output to the ## Contradiction Analysis section.
  3. Do NOT block exploration — the status remains ok unless contradictions are severe enough to set status: warning.

Output format:

## Contradiction Analysis

Contradictions detected between user intent and existing context:

- Item: [feature or behavior name]
  Status: CERTAIN|UNCERTAIN — [explanation of what contradicts what]
  Severity: INFO|WARNING|CRITICAL
  Resolution: [suggested resolution or "Requires user confirmation"]

[or: "No contradictions detected."]

Step 5 — Investigate the codebase

I read real code following this hierarchy:

  1. Entry points of the affected area
  2. Files related to the functionality
  3. Existing tests (they reveal expected behavior)
  4. Relevant configurations
  5. ai-context/architecture.md if it exists (to understand past decisions)

Step 6 — Analyze approaches

For each possible approach I generate a comparison table:

ApproachProsConsEffortRisk
[Option A]Low/Medium/HighLow/Medium/High
[Option B]

Step 7 — Identify risks and dependencies

  • Code that would break with the change
  • Dependencies that would need to be updated
  • Tests that would fail
  • Non-obvious side effects

Step 8 — Save if a change name was specified

Pre-save naming check (non-blocking):

If <change-name> starts with explore-, warn before writing:

Note: The change name "[change-name]" starts with "explore-".
Standalone explore folders (e.g. explore-fy-topic) are not part of a full SDD planning cycle
and will not be automatically cleaned up or archived.

If you intend this as a full SDD change, use a descriptive slug and continue with /sdd-propose:
  /sdd-propose <description>   <- starts the planning cycle from proposal

If you intend this as a one-off investigation, proceed as-is.

This warning is informational only — writing proceeds regardless of the name.

If invoked as /sdd-explore <change-name>, I persist the exploration artifact.

Write: Call mem_save with topic_key: sdd/{change-name}/explore, type: architecture, project: {project}, content = full exploration markdown. Do NOT write any file.

  • If no change name provided: log INFO: no change name — skipping artifact persistence and skip.
  • If Engram MCP is not reachable: skip persistence. Return exploration content inline only.

Persisted artifact (compact — only what downstream phases consume):

# Exploration: [topic]

## Current State
[2-3 sentence summary of what currently exists in the codebase]

## Branch Diff
- [path/to/file] (modified|staged|deleted|untracked)
[or: "No relevant changes in current branch."]

## Prior Attempts
- [slug]: [outcome]
[or: "None found."]

## Contradiction Analysis
- [Item]: [CERTAIN|UNCERTAIN] — [one-line explanation]
[or: "No contradictions detected."]

## Recommendation
[Recommended approach in 1-2 sentences]

## Ready for Proposal
[Yes/No — and why if No]

Conversational output (shown to user but NOT persisted):

The full analysis — including Affected Areas table, Analyzed Approaches with pros/cons/effort/risk, Identified Risks with mitigations, Open Questions, and Handoff Context — is presented in the conversational response to the orchestrator. This content is ephemeral and does not need to survive across sessions.


Output to Orchestrator

{
  "status": "ok|warning|blocked",
  "summary": "Analysis of [topic]: [2-3 lines of the main finding]",
  "artifacts": ["engram:sdd/{change-name}/explore"],
  "next_recommended": ["sdd-propose"],
  "risks": ["[risk if found]"]
}

Rules

  • I ONLY read code — I never modify anything in this phase
  • I read real code, never assume or invent
  • If I find something unexpected (technical debt, inconsistencies), I report it
  • I keep the analysis concise: the goal is to inform, not to write a thesis
  • If the exploration reveals that the change is trivial, I say so clearly

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.43%
按下载量换算59

Claude

28.36%
按下载量换算43

Cursor

18.91%
按下载量换算28

Gemini CLI

8.45%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills