AGENT SKILL

think

Think a vague feature idea into a buildable spec by working backwards (the idea→spec leg; drives the `devague` CLI). Start from the announcement ("pretend it shipped"), capture and classify claims, interrogate them with honesty conditions and hard questions, park open vagueness as a first-class object, and export a spec only once the frame *converges*. Use when the user says "think this through", "spec this", "work backwards", "turn this idea into a spec", "announcement frame", or "devague", or when a feature request is too vague to build yet. Explore scope first when the idea touches an existing codebase — the sibling `scope` skill is the optional opening leg ahead of `think`. Once a spec exports, hand off to the sibling `spec-to-plan` skill to turn it into a plan. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the other skills here.

License 许可
Apache-2.0
最近更新
2026-09-29
Stars
★ 3
Forks
0

01 前言 Front Matter

name
think
description
Think a vague feature idea into a buildable spec by working backwards (the idea→spec leg; drives the `devague` CLI). Start from the announcement ("pretend it shipped"), capture and classify claims, interrogate them with honesty conditions and hard questions, park open vagueness as a first-class object, and export a spec only once the frame *converges*. Use when the user says "think this through", "spec this", "work backwards", "turn this idea into a spec", "announcement frame", or "devague", or when a feature request is too vague to build yet. Explore scope first when the idea touches an existing codebase — the sibling `scope` skill is the optional opening leg ahead of `think`. Once a spec exports, hand off to the sibling `spec-to-plan` skill to turn it into a plan. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the other skills here.

03 SKILL.md 正文

<!-- lineage: claude (.claude/skills/think/SKILL.md) -> colleague (../colleague/.colleague/skills/think.md, ff7331e v1.63.1) -> qwen (this file). Surface adaptation: qwen drives the devague CLI directly through its shell tool; there is no curated tool allow-list to navigate. -->

think — work an idea backwards into a buildable spec

The skill is named think; the product/CLI it drives is devague. (The forward leg — turning a converged spec into a plan — is the sibling spec-to-plan skill, which drives devague plan.)

think turns a vague feature idea into a buildable spec by working backwards: you start from the announcement you'd make if it had already shipped, then build an Announcement Frame by capturing claims, pressure -testing them, parking what's still genuinely unknown, and only exporting once the frame converges.

The CLI is deterministic and move-driven — it is not a wizard. There is no fixed sequence of prompts. You (the agent) choose the next move; the CLI just tracks state and tells you what's still missing. Run every move through the devague CLI: devague learn for the canonical ten-stage arc, devague explain <move> for any single move.

In qwen, invoke moves through the shell tool (run_shell_command, e.g. devague new "...", devague capture ..., devague status). The CLI is the agent's direct interface to devague — no curated tool or shell wrapper is needed.

How to run

Use the devague CLI from your agent loop (via the shell tool). Frames persist under .devague/ in the current directory:

devague new "<announcement>"
devague status

Every move is a devague CLI call:

devague <move> [args...]

If devague is not on PATH, install it with uv tool install devague.

Moves

Move What it does
new "<announcement>" [--title "<short>"] Start a frame from the announcement (the first move). Seeds an auto-confirmed announcement claim. Always pass --title (see Export hygiene).
capture --kind <kind> "<text>" [--instruction "<text>"] Record + classify a claim. --origin llm lands it as proposed. --instruction "<text>" attaches verbatim working guidance (how to verify/implement the claim) at creation time.
interrogate <id> --honesty "…" Attach an honesty condition (what must be true). Also --hard-question, --risk, --contradicts, --blocking. Also --instruction "<text>" adds/updates a claim's or honesty condition's instruction — <id> may be a claim (c*) or, with --instruction alone, an honesty condition (h*).
confirm <id> [<id>…] / reject <id> [<id>…] Resolve one or more claims (c*) / honesty conditions (h*) in one transactional call. User-only decision. Also confirm --from-review <file> to apply an edited review artifact.
review List every proposed (unconfirmed) claim + honesty condition with ids (--json too); writes a non-authoritative artifact to .devague/reviews/<slug>.md. Un-gated; never mutates.
question "<text>" Record / list / --resolve a pending user decision as durable working state in .devague/questions/<slug>.md.
park "<text>" --kind <kind> Move uncertainty into first-class open vagueness instead of forcing an answer.
converge Evaluate the gate; list remaining gaps.
export Write the buildable spec to docs/specs/ — only after converge passes.
status Read-only: where the frame stands + the recommended next move (--json too).
show / list Render a frame / list frames (--json for raw state).
learn / explain <move> Teach the method / explain one move.

Claim kinds: announcement, audience, after_state, before_state, why_it_matters, boundary, success_signal, open_question, non_goal, requirement, assumption, decision. Vagueness kinds: unknown_nonblocking, unknown_blocking, out_of_scope, follow_up.

These are exactly the kinds the shipped CLI enforces (CLAIM_KINDS / VAGUENESS_KINDS in devague/frame.py) — the skill documents the surface as built, so every command here passes the CLI's choices= validation. requirement is spec-affecting (needs a confirmed honesty condition); non_goal / decision are descriptive; an unconfirmed assumption is a convergence warning, not a blocker. The formal entity model, the (state × origin) vocabulary, and the per-move input/output/transition/error contract are documented in docs/spec-contract.md (issue #5); for the authoritative live shape of any move, run it with --json (or devague learn --json / devague explain <move>).

Instructions — verbatim guidance, never fabricated

Claims and honesty conditions may carry an optional instruction: verbatim text on how to verify or implement the item — write it yourself, don't invent filler to satisfy the gate. Two ways to set it:

  • capture --kind <kind> "<text>" --instruction "<text>" — at creation.
  • interrogate <c*|h*> --instruction "<text>" — add or change one on an existing claim or honesty condition (this is the one case where interrogate accepts an h* id directly, since the instruction targets whichever item you name).

Re-confirm rule. Changing the instruction on an already-confirmed claim or honesty condition flips its status back to proposed — the instruction is part of what the user confirmed, so a change to it must go back through the user. interrogate prints a diagnostic note (stderr) when this happens; re-run confirm <id>.

status — the next-move verb

status is a first-class, read-only CLI verb (devague status, internalised from this wrapper in 0.11.0 — issue #30). It composes list + converge and prints where the current frame stands, the remaining gaps, and the recommended next move; it never mutates state (the drafting↔converged transition stays in converge). It reports ready_for_spec, lists the blockers and warnings, and shows required_next_moves[0] as the recommended move. Pass --json for the same fields as a structured payload ({frame, total, ready_for_spec, blockers, warnings, parked_items, required_next_moves}).

frame: my-feature    (1 frame total)
convergence: NOT passed — 2 gap(s):
  - missing a 'boundary' / non-goal claim
  - claim c2 has no confirmed honesty condition

recommended next move (first gap):
  devague capture --kind boundary "<text>"

Run it whenever you're unsure what to do next.

Gate warnings, not blockers

converge emits two deterministic, warning-only structural-sharpness signals — neither holds back ready_for_spec:

  • a confirmed spec-affecting claim (announcement, audience, after_state, before_state, why_it_matters, boundary, success_signal, requirement) with no instruction;
  • a confirmed success_signal claim (or claims) where none contains a measurable token — a numeral, %, or a comparator (</>/≤/≥).

Both are pure predicates over frame state, never LLM judgment on prose — see devague/convergence.py's module docstring for the exact rules (S1/S2). A frame can converge and export with these warnings still showing; they nudge toward a sharper, more directly actionable spec.

question — the pending-decision loop

When a genuine design decision surfaces mid-frame, don't guess and don't stall:

  1. devague question "<the decision to make>" — records it as durable working state.
  2. Put it to the user (with concrete options where possible).
  3. devague question --resolve <qid> --decision "<what the user chose>".
  4. devague capture --kind decision "<the choice>" — a user-origin capture auto-confirms, making the decision a first-class frame claim.

This keeps every user decision traceable from question → resolution → claim.

Export hygiene — keep the artifacts lint-clean

The exported spec-md must pass the repo's markdown lint. Two gotchas found by dogfooding (devague#53), both cheap to avoid up front and expensive after — there is no retitle/edit move yet, so fixing them later means hand-editing state JSON and re-exporting:

  • Always pass --title "<short title>" to new. The title becomes the H1 of every exported artifact (the plan inherits it too). The default is the full announcement — long, and if it ends with a period the H1 fails MD026 (trailing punctuation). Keep the title short, no trailing period.
  • Backtick angle-bracket tokens. A placeholder like --seeds <claim-id> in claim or honesty-condition text renders as inline HTML (MD033) unless wrapped in backticks. Write `--seeds <claim-id>`, not the bare form.
  • Lint before committing: markdownlint-cli2 "docs/specs/<file>.md".

Hard rules (do not violate)

These are the point of the method — convergence must mean something.

  • LLM proposals stay proposed. A claim captured with --origin llm, and any honesty condition you (the agent) propose, lands as proposed. Never confirm your own proposal. Confirmation is a user-only decision — surface the proposal and let the user confirm or reject it. Proposed content must not silently become an authoritative requirement.
  • Honesty conditions route through the user. Propose them freely with interrogate --honesty; the user owns whether they hold.
  • Converge, don't vibe. export is gated on converge passing. Never claim the frame is ready on a hunch — run converge (or status) and resolve every listed gap. The gate requires confirmed announcement / audience / after_state, a before_state or why_it_matters, a boundary, a success_signal, a confirmed honesty condition on every spec-affecting claim, and no unresolved blocking vagueness or hard question.
  • Park real unknowns; don't paper over them. If something is genuinely unknown, park it (blocking or non-blocking) rather than fabricating an answer. Blocking vagueness holds back convergence — by design.

Output contract

Results go to stdout, diagnostics and errors to stderr — a strict split you can rely on when parsing. Pass --json to any move for a structured payload on the same stream. Exit code 0 on success, non-zero on user error (with a hint: line). Frames live under .devague/ in the current directory.

Worked example

A short end-to-end session (the kind you'd run to spec a feature like devague#5):

devague new "Devague ships a documented spec contract" --title "documented spec contract"

# Optional scope stage: record what you explored before capturing claims
devague scope "devague/frame.py" --finding "the claim model devague#5 extends lives here"

devague capture --kind audience "devague + the assisting LLM" \
    --instruction "check docs/spec-contract.md names devague + the LLM as readers"
devague capture --kind after_state "a vague idea becomes a buildable, pressure-tested spec"
devague capture --kind why_it_matters "specs converge on evidence, not vibes"
devague capture --kind boundary "not a full PRD generator; no fixed wizard"
devague capture --kind success_signal "a frame exports only after the gate passes"

# Pressure-test a claim, then let the USER confirm the condition:
devague interrogate c1 --honesty "the contract round-trips: save -> load -> identical frame"
# ...user reviews and runs: devague confirm h1

# Attach a working instruction to the now-confirmed honesty condition — this
# flips h1 back to 'proposed' (the re-confirm rule), so the user re-confirms:
devague interrogate h1 --instruction "run tests/test_contract.py::test_contract_round_trips"
# ...user reviews and runs: devague confirm h1

# Park a genuine unknown instead of guessing:
devague park "exact JSON schema versioning policy" --kind unknown_nonblocking

devague status        # what's left + the next move (warnings show with a ⚠ marker)
devague converge      # gate; resolve any listed gaps (warnings never block export)
devague export        # writes docs/specs/<slug>.md once converged

The exported spec-md is a buildable artifact.

After export — commit, then hand off

Once export writes the spec and the user has reviewed it, close the idea→spec leg cleanly before moving on:

  1. Commit the spec. Commit the exported docs/specs/<slug>.md (along with the .devague/<slug>.json frame state and any review artifact under docs/reviews/) so the converged frame is durable in history, not just on disk. Use a focused message, e.g. git commit -m "spec: <slug> (devague think)". The frame and the spec are the evidence trail for every confirmed claim — keep them together. (Per the repo's standing convention this normally becomes a branch + PR via the cicd skill; commit-only is fine when the user asks for it.)
  2. Hand off to spec-to-plan. The forward leg is the sibling skill: devague plan new --frame <slug> seeds a plan from the converged frame and works it forward into a buildable plan (it can equally feed superpowers:writing-plans or a normal implementation PR).

Don't pause for a "what next?" menu after a reviewed export — the standing flow is commit, then spec-to-plan.

Provenance

This is a first-party skill — its origin is agentculture/devague, where the devague agent maintains it alongside the tool it operates (dogfooding). It is the inverse of the other skills under this repo's .qwen/skills/, which culture-nodes vendors from the upstream sources tracked in docs/skill-sources.md. When this skill is ready, guildmaster pulls it from devague and broadcasts it to the rest of the AgentCulture mesh. The cite, don't import policy still holds: downstream repos copy it, they don't symlink or depend on it. See docs/skill-sources.md.

04 同仓库更多 Skills

agentculture
agentculture/culture-nodes

sample

Fixture skill proving the .qwen/skills leg carries at least one skill.

★ 3
agentculture
agentculture/culture-nodes

sample

Fixture skill proving the .qwen/skills leg carries at least one skill.

★ 3
agentculture
agentculture/culture-nodes

sample

Fixture skill proving the .qwen/skills leg carries at least one skill.

★ 3
agentculture
agentculture/culture-nodes

summarize-delivery

Close the loop after an `assign-to-workforce` run by turning what actually happened into an accountability artifact — planned versus actual delivery, mid-work decisions, plan drift, evidence-backed delivery claims, and remaining work. The plan the user confirmed is the contract; this skill records where execution obeyed it, where it changed, and what is genuinely safe to claim as delivered. Runs on complete, partial, AND failed runs — failure is reported faithfully, never smoothed over. Use when the user says "summarize delivery", "delivery summary", "wrap up", "close the loop", "what did we actually ship", or "plan versus actual", or after `assign-to-workforce` merges (or fails to merge) a plan's waves. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the inbound skills here.

★ 3
agentculture
agentculture/culture-nodes

spec-to-plan

Turn a converged devague spec into a buildable plan by working forwards (the spec→plan leg; drives the `devague plan` CLI group). Seed a plan from a converged frame, add tasks that collectively cover every coverage target (the frame's confirmed claims + honesty conditions), give each task acceptance criteria and an honest dependency order, park genuine unknowns as first-class risks, and export a plan only once it *converges*. Use when the user says "spec to plan", "stp", "turn this spec into a plan", "plan this spec", "make a build plan", or after the `think` skill exports a spec. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the other skills here.

★ 3
agentculture
agentculture/culture-nodes

scope

Explore the scope of a vague idea BEFORE framing it into a spec (the idea→scope leg; the optional opening move ahead of the `think` skill). Survey the surfaces the idea touches — code, docs, skills, CI, sibling repos — and seed the coming Announcement Frame with boundary, non-goal, and assumption claims that cite what was actually explored (provenance, not generic disclaimers). Use when the user says "explore scope", "scope this idea", "what does this touch", "map the scope", "scope exploration", or when an idea touches an existing codebase and speccing it cold would mean guessing its boundaries. Hand off to the sibling `think` skill to build the frame. Authored and maintained in agentculture/devague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the inbound skills here.

★ 3