Skip to content
Back to skills

Explore

ASecurity

Initial Exploration Stage

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 4, 2026
ai-agentsgoshellreactnodedebugginggitapidatabase

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add mayankmankhand/llm-peer-review --skill explore --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Explore?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Explore
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mayankmankhand-explore/badge)](https://www.skillsdirectory.com/skills/mayankmankhand-explore)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: explore
description: "Initial Exploration Stage"
---

# Initial Exploration Stage

**Use this when:** Starting a new feature, strategic question, or refactor that needs scoping or vision-level thinking before any code is written.
**Don't use this when:** You already have a clear plan (use `/create-plan`) or you are debugging a specific bug (use `/pair-debug`).

<rules>
Your task is to fully understand and prepare, not to implement yet.
</rules>

## Mode Detection

<phase name="mode-detection">
Before diving into questions, pick a gear with the user.

### Two Gears
- **Scoping mode** - the user has a concrete idea and needs help defining scope. Pressure-test, narrow down, get to a clear definition of done.
- **Vision mode** - the user is thinking big-picture and needs help exploring possibilities. Challenge premises, expand the space, decide what to build before how.

### Issue Host

Two places below read an issue: mode detection here, and the worktree rename in the Worktree Setup phase. Either one can be the first to fire, or the first can never fire at all. So detect the host **once, here, unconditionally**, before Phase 1 begins, and reuse that result for the rest of the session.

Read `.agents/tk/skills/shared/host-cli.md` in full now and follow it as part of this file.

### Pick a Mode
Don't try to guess silently. Always ask, but pre-fill your best guess so it's a one-keystroke decision when you guess right.

1. Read the user's input and form a best guess: scoping or vision.
2. **If the input references an issue**, read it first with the **"Read issue" row** for the detected host, and let the issue body inform your guess. Take the field name from that row too: the issue body is not called the same thing on both hosts. The issue number alone often looks concrete when the body is exploratory. Recognize all of these forms:
   - `issue 88`, `#88`, `ticket 88` -> use the number directly
   - An issue URL -> extract the number with the note above that begins "On a GitLab issue URL". Read it rather than parsing by hand: it holds the per-host anchors, the two paths GitLab serves the same issue under, and why the LAST match is the one to take
   - A bare number on its own (e.g. just `88`) -> ask "Is that an issue number?" before fetching, since a bare number can mean other things
3. Ask the user with this exact wording, substituting your guess in the first brackets:
   > Scoping or vision? [scoping]

4. Interpret the answer:
   - Empty input or just enter -> proceed with the bracketed guess
   - Anything that clearly maps to scoping or vision (the word itself, single letters `s`/`v`, or common synonyms like "narrow it down" / "big picture") -> use that mode
   - Truly ambiguous input -> proceed with the bracketed guess but acknowledge it out loud: "Couldn't tell from that, so I'm going with scoping. Say 'switch to vision mode' anytime."

Once the mode is picked, announce it briefly and tell the user how to switch. Example:
> "Going with **vision mode**. Say 'switch to scoping mode' anytime if you'd rather narrow down."

### Manual Override
The user can say "switch to vision mode" or "switch to scoping mode" at any point during the conversation. The mode is sticky - once set, it stays until the user explicitly switches again. When switching modes, don't restart the conversation. Continue from where you are, but adjust your tone and question style to match the new mode.

Re-surface the switch option at natural transition points: after the scope dial, before Phase 2, or if the user's language shifts (e.g., concrete answers in vision mode, or vague answers in scoping mode).

### Phase Markers
Announce transitions so the user knows where they are: "Now moving to codebase analysis (Phase 2)" or "Here's my closing summary." This is especially important in vision mode where conversations can run long.
</phase>

## Phase 1: Challenge the Idea

<phase name="challenge-the-idea">
After the user describes their idea, **think like an experienced product manager**. Your job is to pressure-test the idea before touching any code.

### Tone

**Scoping mode:**
- Direct and skeptical: "I need to understand X before we proceed"
- Challenge assumptions, cut through fluff
- Don't be gentle, but don't be rude

**Vision mode:**
- Expansive and curious: "Let's think bigger: what if..."
- Challenge premises, not just scope: "Are we even solving the right problem?"
- Push the user to dream before narrowing down
- Give permission to scrap and rethink

**Both modes:** Challenge the idea, not the person.

### How to Ask Questions
Ask **3-4 focused questions per round**, over 2-3 rounds; in vision mode, each Expand on the scope dial adds a round. Keep it digestible:

- **Lead with a short recommendation** - open with what you recommend, in five lines or fewer, then the questions; offer more detail instead of front-loading it. In vision mode the recommendation is a first direction to react to, not a narrowed scope. A recommendation to fix, file or test something says in one clause what was checked to show the problem is real and still open ("Check at the source", in the toolkit reference)
- **Read before you ask** - the issue, earlier plans, the code the change touches and `LESSONS.md` come first; skip any question they already answer (Self-Service, "Check at the source", in the toolkit reference)
- **Group related questions** - don't scatter topics
- **Number them** - easy to reference in answers
- **Keep each question short** - one sentence, not a paragraph
- **Decode every code** - a rule or finding code in a question, or in the closing summary and its file, says in plain words what it does and what the question turns on, the first time, with the code in brackets; look the title up in its file (M<n> in `.agents/tk/skills/shared/hitl-loop.md` or `.agents/tk/skills/shared/hitl-stages.md`, C-<n> in the plugin's upgrade conventions, read in Claude Code), never recall it; file names and hashes stay out of the sentence. The reader was never meant to open the rulebook. The rule's home is Rule 3 of the always-on rules file; this bullet applies it where questions are composed
- **Front-load the most important one** - in case they only answer a few

<examples>
**Bad example:**
> 1. What's in scope? I'm asking because there are multiple directories and I'm not sure if manager_package is part of this or separate, and also the PLAN files seem complete so should those be archived or deleted, and speaking of which...

**Good example:**
> Recommendation: scope this to the web app and archive the finished plans.
>
> A few quick questions:
> 1. What's in scope: just the web app, or the review commands too?
> 2. The 3 completed PLAN files: delete, archive, or keep?
> 3. Are manager_package/ and toon_flow/ part of this project?
</examples>

### Scoping Mode Questions (pick 3-4 per round)
Only ask what's genuinely unclear. Skip what's already answered.

- **What problem are we solving?** (Is this a real pain point or a nice-to-have?)
- **Why now?** (What's the urgency? What happens if we don't do this?)
- **What does success look like?** (How will we know this worked?)
- **What's the definition of done?** (Minimum viable scope - what's in, what's out?)
- **What are we trading off?** (What else could we build instead? What's the cost?)
- **Does this contradict anything?** (Existing decisions, scope, or priorities?)
- **Who and what else does this reach?** (Other installs or copies of the code, and what they are told; other sessions and unreleased work in the same repo; what the user gets back, meaning the person running the loop, when a step ends and after a finding. The three answers are the summary's Reaches section, so ask it in round 1 of every run unless the issue or the code already answers it; an item left unsettled stops the chain the way an open question does)
- **What should this look like?** (Layout, style, visual direction) - when the feature involves a UI, leave this to the Design exploration step below rather than asking it here
- **How should this behave?** (Interactions, flows, states) - same: the Design exploration step owns it for UI features

### Vision Mode Questions (pick 3-4 per round)
Only ask what's genuinely unclear. Skip what's already answered.

Start with premise and challenge questions, then move to analogy and benchmarking. If the user seems unfamiliar with a concept (e.g., 10-star thinking), briefly explain it before asking:

- **Are we solving the right problem?** (Challenge the premise, not just the solution)
- **What's the 10-star version of this?** (No constraints - what's the ideal product experience and business outcome?)
- **What does this look like in 6 months?** (How does this decision age? What will we wish we'd done differently?)
- **What would you scrap entirely?** (If you started over today, what would you throw away and rethink?)
- **What are we afraid of?** (What's the risk we're not talking about?)
- **Who else does this well?** (What can we learn from how others solved this?)
- **Who and what else does this reach?** (The same three items as in scoping mode: other installs; other sessions and unreleased work; what the person running the loop gets back. The summary's Reaches section needs them in either mode, so ask it once a direction is in sight)

### Synthesis Checkpoints (vision mode only)
Between rounds, briefly summarize what you're hearing before asking more questions: "Here's what I'm hearing so far: [2-3 bullet summary]. Does that track?" This keeps the conversation grounded and helps the user see their own thinking reflected back.

### Scope Dial (vision mode only)
Once the user's answers start pointing toward a direction (usually round 2, sometimes later), offer the scope dial:
> "Now that we've explored the space, where do you want to land?"
> - **Expand** - dream big, pursue the 10-star version
> - **Hold** - keep the current scope but apply what we just discussed
> - **Reduce** - strip to absolute essentials

**After the user picks:**
- **Expand** - continue with vision mode questions, push even bigger. If the user picks Expand twice, re-offer the Scope Dial after one more round. If they pick Expand a third time, gently suggest Hold: "We've explored a lot of territory. Want to lock in what we have and move to planning?"
- **Hold or Reduce** - shift to scoping-style questions (definition of done, trade-offs, success criteria, and the reach question, since the summary's Reaches section needs its three answers) but keep the vision mode tone. This avoids conversational whiplash. Also bring in Design exploration if the feature involves a UI.
- Phase 2 stays optional regardless of which dial option was chosen

### Design exploration (scoping mode, or vision mode after Hold/Reduce)

The trigger: the feature involves a user interface (a page, dashboard, form, component, screen, anything a human looks at). Announce the step by name and its load level in one line, so it never folds into the other questions: "Design exploration: <new | improve | none>." Every mechanic lives in the `design-rules` skill: load it through the Skill tool (`.agents/skills/design-rules/SKILL.md`) when this step fires and cite its sections rather than restating them.

1. **Read `DESIGN-PROFILE.md`.** Absent means the design system is unknown; offer to create the file from `.agents/tk/skills/shared/design-profile-template.md` (the template a copy-install ships). While the profile says unknown, run the detection signals, confirm once, and record the answer in the profile (the three-state rule).
2. **Set the load level** with the countable test in the load dial, confirm it in one line, and honor "treat as new". Load level none ends the step here, silently.
3. **Improve:** name the surface (file or route) and go to step 7.
4. **New:** run the idea list and capture the user's reactions in the profile's Taste notes (Technique 2), then generate three seeded directions, one `node .agents/tk/scripts/gen-media.js --kind seed` call each (Technique 1). Accept any format the user offers; when they say "you decide", propose one direction and get a soft confirmation.
5. **Build the prototypes.** For each direction, write a self-contained prototype: real markup plus inline CSS, using the design system's tokens when the profile says exists and the direction's own colors, type, and motion when it says none. This is the dispatcher's job; the playground skill only lays the three out.
6. **Show the prototypes.** Dispatch the `playground` skill's rendered-prototypes variant with the three prototypes and their names. It is default-on for load level new (`.agents/tk/skills/shared/html-outputs.md`), so announce it in one line without the skip offer ("Rendering three prototypes to pick from.") and say so in the dispatch context. Read the reply: a message starting with `Playground result` carries the pick and notes; anything else is natural-language decision input.
7. **Check divergence.** When the pick or a refinement would change color, type, spacing, or components inside an existing system, raise the divergence page from the fragment.
8. **Document the outcome** in the closing summary's Design direction line; `/create-plan` copies it into the UI/UX Design section.

### Explain the Why
Briefly explain *why* you're asking when it adds value. Example: "I'm asking about success criteria because unclear goals often lead to scope creep."

### Smart Behavior
- **If the user's description is solid and complete** - acknowledge it and move to Phase 2. Don't force questions just to hit a quota.
- **If there are real gaps or red flags** - push back. Limit yourself to 3-4 questions max per round, but drop to a single focused question if one issue is clearly blocking.
- **Recognize good thinking** - if they've clearly thought it through, say so and proceed.
</phase>

## Worktree Setup (between Phase 1 and Phase 2)

<phase name="worktree-setup">
Before starting codebase analysis, check if this session is running in a Git worktree. A worktree is a separate working folder linked to the same repo - it lets you work on a feature without touching your main code.

**Session context (fast path):** Run `node .agents/tk/scripts/session-init.js` once now. It returns a single JSON with everything this command reads at startup, so you can skip the individual git/file roundtrips below: `worktree` (isWorktree, gitDir, commonDir, branch) for the detection in this section, `map` (exists, commit, headCommit, commitsBehind, stale, generatedWhileDirty, malformed, overview) for the Phase 2 staleness check, and `lessons` (exists, content, hasDetail) for the Phase 2 lessons read. **Fallback:** if the script is missing or errors, do the manual reads described in this section and Phase 2 instead - behavior is identical.

### How to detect a worktree
Use `worktree.isWorktree` from the session-init JSON. Only if the script was unavailable, run `git rev-parse --path-format=absolute --git-dir --git-common-dir` (M16): it prints the Git directory for this working copy, then the shared Git directory for the whole repo. Git older than 2.31 prints the flag back as an extra first line; compare the last two lines. Two different lines mean you are in a worktree; two identical lines mean the main working copy. Keep `--path-format=absolute`: without it, a subfolder of the main copy prints one path relative and the two never match.

### What to do

**If in a worktree AND an issue number came up during Phase 1:**
1. Check if the current branch already matches the `worktree-<number>-<label>` pattern, by command (M16): `worktree.issueBranch` in the session-init JSON is `true` when it matches (if the script was unavailable, `git rev-parse --abbrev-ref HEAD` prints the name to test against `^worktree-[0-9]+-[A-Za-z0-9._-]+$`). If so, skip - it's already named correctly.
2. If you only have an issue number (no title), fetch it with the **"Read issue" row** for the detected host (detect it now if Phase 1 never needed it, per the Issue Host section)
3. If in detached HEAD state, create a branch instead: `git checkout -b worktree-<issue-number>-<short-label>`, then record its cut point with `node .agents/tk/scripts/merge-check.js --record-cut` (M16)
4. Otherwise, record the branch's cut point first, `node .agents/tk/scripts/merge-check.js --record-cut` (M16; it writes nothing when `/worktree` already recorded it, and `/merge` reads it when the branch lands), then rename the current branch: `git branch -m worktree-<issue-number>-<short-label>`. The rename carries the recorded cut with it. When the record fails, say so in one line and rename anyway: `/merge` then finds the cut another way, as a weaker check.
   - The short label should be 2-3 words from the issue title, lowercase, with only letters, numbers, and hyphens
5. If the rename fails because the name is taken, tell the user and ask how to proceed (add a suffix, pick a different label, or keep the current name).
6. Tell the user: "Renamed your branch from `old-name` to `worktree-XX-short-label` to match the issue."

**If in a worktree but no issue number came up:** skip the rename silently. `/create-plan` will handle it if an issue appears later.

**If not in a worktree:** skip silently and move on to Phase 2.
</phase>

## Phase 2: Codebase Analysis

<phase name="codebase-analysis">
Once you're satisfied with the problem definition, shift to technical exploration.

**If in vision mode:** Phase 2 is optional. Ask the user:
> "Want me to look at how this connects to the existing codebase, or should we wrap up here?"

If they say skip, present a vision-mode closing summary:
- **In plain words** - first, under the heading `## In plain words`, five bullets someone who never saw the work can follow: **The problem:**, **The goal and how we will know:**, **The cost:** (money and time, or that nothing is spent), **What is left out:** and **What changes for you:** (what the user will see, do or be asked). Exact terms stay in the parts below it
- **Direction chosen** - what the user landed on (and which scope dial option, if offered). Frame this in terms that map to `/create-plan`'s Goal State section.
- **Key decisions made** - premises challenged, ideas scrapped or kept (these become Critical Decisions in the plan)
- **Design direction** - when the design step fired: load level, design system (state and where), direction name, brief, seed, the two unpicked directions' names and seeds, divergence allowed. `/create-plan` copies this line into its UI/UX Design section.
- **Reaches** - the three items M14 names (other installs; other sessions and unreleased work; what the user gets back), each answered or written `none - <reason>`; this is the summary's `## Reaches` section, and an item the conversation did not settle is asked now, since the gate fails on it
- **Open questions** - anything still unresolved, one bullet per question, or `- none`
- **ASCII diagram** - if the direction involves flows or multi-step processes, include a lightweight diagram (see Phase 2 for style guidance)
- **HTML option comparison (when 2+ options are being compared).** The gate: the exploration surfaced **two or more distinct, named directions the user is actively deciding between**, each with at least one tradeoff or consideration. It does NOT fire for a single recommendation, a set you have already narrowed to one, or open discussion with no competing options. When fewer than 2 options are on the table, skip this entirely. When it fires, work through these steps:
  - **Announce** per `.agents/tk/skills/shared/html-outputs.md`: "Generating an HTML view because you are comparing N options. Say 'skip HTML' if you want markdown only." Honor "skip HTML" if the user replies with that phrase.
  - **Generate the canonical record via the helper** - do NOT hand-write the HTML. Produce a JSON payload matching the schema documented at the top of `.agents/tk/skills/shared/shells/explore-shell.html` (option cards, `scopeDial`, `decisions`; read its header for the exact fields). Set `scopeDial` to exactly one of `Expand` | `Hold` | `Reduce`, and leave the key out when the dial was not offered. Write the JSON as `data.json` in a fresh folder from `mktemp -d /tmp/explore-render.XXXXXX`, made and used per "Temporary folders" in `.agents/tk/skills/shared/html-outputs.md`; that folder is `<render-dir>` below. Load the viewing rules now, through the Skill tool (`.agents/skills/html-viewing/SKILL.md`), then check the publish gate (see **"Render for the viewport"** in them): if this session can publish, add `--no-abs` to the command below. Then run the helper from the project root:
    `node .agents/tk/scripts/render-html.js --shell explore --name explore-<topic-slug> --data <render-dir>/data.json`
    The helper computes the timestamped name, creates `artifacts/html/`, needs no read-before-write step, and prints the output path. This persisted file is the canonical record of the exploration. Then show it to the user per the **"Viewing the Artifact"** rules in `.agents/tk/skills/shared/html-viewing.md`: publish is the primary viewport, the local open is the fallback, and that section holds the whole decision.
  - **Offer an optional playground** - ask "Want this interactive? (drag, toggle, slider)". If yes, dispatch the `playground` skill for a *separate, throwaway* interactive version in `/tmp/` (export-loop only). The playground is disposable; the `artifacts/html/` record above stays canonical.
  - **Detecting a playground reply** - if the user's message starts with `Playground result`, treat the rest as structured state (selection, drag order, slider values, toggle states) and feed it into the closing summary. Otherwise treat the reply as natural-language decision input. `/explore` never modifies the playground output - the export loop is the only path back.
- **Chain check (M14)** - write the closing summary above to `reports/explore/<stamp>-<slug>.md` in the shape M14 gives (`.agents/tk/skills/shared/hitl-stages.md`; **Open questions** above is its open-questions section), then run `node .agents/tk/scripts/session-init.js --chain explore --summary <that file>` (M16). M14 holds every condition and what to say when the gate does not pass; do not restate them here. On `pass`, announce the handoff in one line ("Exploration is settled, so I'm moving on to `/create-plan` by myself. Say \"no chaining\" to stop here.") and invoke `/create-plan` through the Skill tool, naming the summary file.

If they say yes, continue with the analysis below.

**If in scoping mode:** proceed with Phase 2 as normal (mandatory).

### Start with the codebase map
Before exploring manually, check if `CODEBASE_MAP.md` exists in the project root.

**If it exists:** Read it for the directory tree, module purposes, conventions, gotchas, and navigation guide - your starting point before any glob/grep. For staleness, use the session-init JSON instead of running git yourself: `map.commitsBehind` is the count and `map.stale` is true when it is >= 10 (single-commit drift is noisy and not actionable). If the script was unavailable, compute it manually: compare the `<!-- Commit: -->` hash with `git rev-parse HEAD` and run `git rev-list --count <map_commit>..HEAD`. When `map.stale` is true (10 or more commits behind), run `/index` automatically per M12 (`.agents/tk/skills/shared/hitl-stages.md`), then read the fresh map and proceed - tell the user it ran and why. When the map is not stale, proceed without comment. If `map.generatedWhileDirty` is true (the header notes `generated_while_dirty`), mention that to the user regardless of commit count - it signals the map was built from uncommitted state.

**If it does not exist (first-time use or fresh setup):** Tell the user: "No codebase map found. Generating one now with `/index`. This is a one-time setup that may take a minute, and it runs several helpers at once." Then invoke `/index` to generate the map. After it completes, read the new map and proceed.

**If it exists but is malformed:** `map.malformed` in the session-init JSON is the verdict (false passes; M16), and only if the script was unavailable run the byte tests yourself: `wc -c CODEBASE_MAP.md; head -1 CODEBASE_MAP.md; grep -c '^# Codebase Map' CODEBASE_MAP.md` (a byte count above 200, a first line starting `<!-- Generated:` and a count of `1` mean the map is sound; anything else is malformed). Skip it, tell the user "Codebase map looked malformed, falling back to manual exploration. You may want to run `/index` to regenerate.", and continue with glob/grep.

### Read past lessons
After the codebase map, use the lesson index from the session-init JSON (`lessons.content` is the full index, one line each; `lessons.hasDetail` tells you whether `LESSONS-detail.md` exists). If the script was unavailable, or `lessons.content` is absent because the index is over 8 KB (the JSON then carries `bytes`, `lines`, a `head` and a `note` instead), read `LESSONS.md` directly. If a lesson looks relevant to this feature, open its full write-up in `LESSONS-detail.md` before scoping, so exploration does not repeat a past mistake. If `LESSONS-detail.md` is absent (`lessons.hasDetail` is false), `LESSONS.md` holds each lesson in full, so its content is already the whole file; `/document` creates the detail file from the seed before it writes the next lesson, so the index stays short.

### What to look at
1. **Entry points** - where does this feature connect to existing code?
2. **Dependencies** - what does it rely on (files, packages, APIs)?
3. **Related files** - what existing code will need to change?
4. **Edge cases and constraints** - what could go wrong or limit the approach?

### When to stop exploring
- All integration points are identified
- No open questions about how the feature fits in
- You can explain the approach clearly

### What to present
Give the user a brief summary of what you found:
- In plain words, first: a `## In plain words` section with five bullets, **The problem:**, **The goal and how we will know:**, **The cost:**, **What is left out:** and **What changes for you:**, in everyday words someone who never saw the work can follow; exact terms stay in the parts below it
- Key files involved
- How the feature integrates
- Any technical concerns or trade-offs
- Design direction, when the design step fired (load level, design system, direction name, brief, seed, the two unpicked directions' names and seeds, divergence allowed)
- Reaches: the three items M14 names (other installs; other sessions and unreleased work; what the user gets back), each answered or written `none - <reason>`; an item the conversation did not settle is asked now, since the gate fails on it
- Remaining questions (if any)

**Chain check (M14).** Write the summary above to `reports/explore/<stamp>-<slug>.md` in the shape M14 gives (`.agents/tk/skills/shared/hitl-stages.md`; **Remaining questions** above is its open-questions section, and the mode is the sticky one from Mode Detection, since a vision-mode run that accepted Phase 2 arrives here too), then run `node .agents/tk/scripts/session-init.js --chain explore --summary <that file>` (M16). M14 holds every condition and the not-passing behavior; do not restate them here. An unanswered question is the cheapest thing to fix at this point and the most expensive to fix after a plan is built on it. On `pass`, announce the handoff in one line ("Exploration is settled, so I'm moving on to `/create-plan` by myself. Say \"no chaining\" to stop here.") and invoke `/create-plan` through the Skill tool, naming the summary file.

#### Optional: ASCII diagrams
Include diagrams as part of your summary above when the feature involves flows, data paths, or multi-step processes. Each arrow is a place where things can break - that's the point. In vision mode, diagrams are especially useful for grounding abstract ideas - but keep them high-level to match the conversation.

**When to include one:** The feature involves user flows, API interactions, data pipelines, state changes, or multi-step processes. Just include it alongside your summary.

**When to ask:** The feature might benefit from a diagram but it's not obvious. Ask: "Want me to diagram this flow?"

**When to skip:** Simple changes with no flows - a config tweak, a copy change, a single-file refactor. No need to mention diagrams at all.

**Style:** Keep it lightweight - indented arrows showing the sequence and failure points. No box-drawing characters or UML.

Linear flow example:
```
User clicks Submit
  -> Validate fields (what if empty?)
  -> Send to API (what if it fails?)
  -> Save to database (what format?)
  -> Show success message (or error?)
```

Branching flow example:
```
User hits Save
  -> Validate input
    -> Valid: send to API
      -> Success: show confirmation
      -> Failure: show retry prompt
    -> Invalid: highlight errors, stay on form
```

**Purpose:** Diagrams are a discussion tool. After presenting one, invite the user to challenge the arrows: "Does this flow look right, or am I missing a step?"
</phase>

## Important

<rules>
Your job is not to implement (yet). Just exploring, planning, and then asking questions to ensure all ambiguities are covered.

Keep going until no question that would change the plan is left, within those rounds; anything still open goes into the closing summary as an open question. Assume no requirements or scope beyond the details the user described.
</rules>

---

**Ready.** Describe what you're thinking: a concrete feature, a rough idea, or a strategic question all work.

## HTML Output Rules

Whether to render and where the file lands are governed by the shared rules fragment, inlined here. How the page reaches the user (`--no-abs`, publish or open locally, record the publish) is in the `html-viewing` skill, which the comparison step loads by name only when it renders.

Read `.agents/tk/skills/shared/html-outputs.md` in full now and follow it as part of this file.

**Next:** `create-plan`. When this stage's handoff check prints `pass`, open that skill and follow it, as the rules block says. When it does not, or the user said "no chaining", stop here and tell the user to type `$create-plan` in Codex, or `/create-plan` in Antigravity and Gemini CLI.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.