explore
Explore the codebase and write a discovery brief. Use when discovering scope, surveying a codebase, or starting a feature.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Explore the codebase and write a discovery brief. Use when discovering scope, surveying a codebase, or starting a feature.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
QA passed — merge branch to main, move ticket to Done, delete branch. Use after QA sign-off on a completed feature.
Run one fully-autonomous development iteration. Picks a ticket (from --focus or backlog via ideator), then runs the `orchestrator autopilot <slug>` workflow subcommand. This skill should be used when the user says 'autopilot', 'autonomous', 'self-improve'.
Create commits in logical groups. This skill should be used when the user says 'commit-group', 'group commits', 'organize commits', or when there are multiple unstaged changes that should be organized into atomic commits.
Complete feature — verify, signoff, archive. Runs only the complete phase of the orchestrate workflow. This skill should be used when the user says 'complete feature', 'finish feature', 'merge to main'.
Fetch curated, agent-optimized library documentation via Context Hub (chub). Use when implementing features that use external libraries, when Context7 returns noisy/incomplete docs, when you need language-specific or version-specific API docs, or when the user says "chub", "context hub", "get docs for X". Prefer this over Context7 for libraries in chub's registry — curated docs have less noise and better code examples.
Review design.md and tasks.yaml for completeness and quality. Use when reviewing a design before implementation.
| name | explore |
| description | Explore the codebase and write a discovery brief. Use when discovering scope, surveying a codebase, or starting a feature. |
| user-invocable | true |
| extends | git+git@github.com:ugudlado/prompt-packs.git@302b87dcc7c8b6a83d249194f3e47e98d3214794#explorer |
Intent: Survey the problem space — constraints, patterns, and open questions.
$WORKTREE_ARTIFACT_DIR/$CHANGE_ID/ticket-context.md
(spec/changes/<slug>/ticket-context.md) when present — written by
load-ticket-context. Source of truth for scope; do not invent a different
feature from the codebase.discovery_result — COMPLETION output handle: {path: "discovery.md"} (or
{already_completed: true, archive_path: "...", path: "discovery.md"} on rerun-guard hit).discovery.md written to $WORKTREE_ARTIFACT_DIR/$CHANGE_ID/discovery.md.$REPO_ROOT/spec/changes/archive/, check whether
this change already completed (status: completed or mark-change-completed in
archived state.yaml for the same change_id / ticket). If yes, write a short
discovery.md noting the prior archive_path, then return COMPLETION with
outputs.discovery_result: {already_completed: true, archive_path: "...", path: "discovery.md"}
and artifacts: [discovery.md]. Do not redo codebase survey.$WORKTREE_ARTIFACT_DIR/$CHANGE_ID/ticket-context.md (same as
spec/changes/<slug>/ticket-context.md) when it exists — that file is the
ticket body (title, description, ACs). Treat it as the source of truth for
scope; do not invent a different feature from the codebase.
Read architecture from the repo docs (CLAUDE.md / AGENTS.md / README) and directly related source files.
Do NOT web-search unless the description explicitly references external technology.feature-id, linear-ticket),
Feature Summary, Personas & Actors, Use Cases (Happy Path + Error & Edge Cases),
Scope (In Scope + Out of Scope), UI Direction, Key Decisions, Open Questions.
Producing discovery.md? First Read skills/explore/reference/discovery-format.md
for the exact per-section format, field rules, and identifier conventions.COMPLETION:
status: completed
outputs:
discovery_result: {path: "discovery.md"}
artifacts: [discovery.md]
Do not return the brief as chat prose — the file is the artifact.Before returning COMPLETION, confirm: