ワンクリックで
using-just-demand
Load this skill first for repo work so the correct just-demand routing rules are applied before other workflow skills.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Load this skill first for repo work so the correct just-demand routing rules are applied before other workflow skills.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when a formal work item is ready to execute, when dispatching just-demand-researcher, just-demand-coder, just-demand-tester, or just-demand-advisor subagents, or when building context for focused execution.
Load this skill first for repo work so the correct just-demand routing rules are applied before other workflow skills.
Use when the user proposes a need, request, feature, design/refactor, bug report, symptom, phenomenon, vague correction, or expected-vs-actual mismatch before implementation. This is the second-priority skill after using-just-demand, including when a conversation pivots from ordinary Q&A to a concrete request, bug, or correction.
Use when the user proposes a new goal, feature, bugfix, design, refactor, research item, UI request, or any unclear work that may become a formal work item. Shapes work into task-ready intake after socratic-clarification has handled requests, bugs, pivots from ordinary Q&A, and other material uncertainty.
Use after implementation, after just-demand-tester output, when verification fails, when the user gives correction feedback, or before claiming a workflow task is done.
Use when a formal work item is ready to execute, when dispatching just-demand-researcher, just-demand-coder, just-demand-tester, or just-demand-advisor subagents, or when building context for focused execution.
| name | using-just-demand |
| description | Load this skill first for repo work so the correct just-demand routing rules are applied before other workflow skills. |
using-just-demand - always loaded first for repo work.socratic-clarification - always loaded second for any request, bug report, correction, or mismatch, including follow-up turns that pivot from ordinary Q&A into concrete work.just-demand-intake and other workflow skills - loaded only after clarification has established the final expected effect and chosen direction.If you were dispatched as a subagent to execute a specific task, skip this skill. Otherwise, load it first for repo work and follow the routing below whenever a matching workflow skill applies.
If there is even a small chance this turn involves repo work, workflow state, a request, a bug, a correction, a design/refactor, or execution, invoke the relevant Just Demand skill before responding or taking action.
These thoughts mean STOP and re-run routing:
socratic-clarification second.Skills are best-effort; plugins are the real hard gate. When plugins are unavailable, before any write tool or execution subagent:
just-demand . list-active.socratic-clarification then just-demand-intake; do not edit inline.Use this repository as an OpenCode-first local agent workflow runtime.
Treat every turn as a routing reset. If the turn proposes concrete work, bug fixing, mismatch analysis, or correction feedback, load socratic-clarification first, then continue with the workflow route below.
No active formal task -> use just-demand-intake.
Formal task ready to execute -> use just-demand-execution.
Implementation/check output needs verification -> use just-demand-verification.
Reusable lesson or recurring workflow pattern appears -> use capture-lessons.
Task-specific decisions or open questions remain -> keep them in the task archive.
When material uncertainty exists, clarification is not optional and not a nice-to-have. STOP before substantive execution and use socratic-clarification when any of the following are true:
Do not proceed just because you can guess a plausible path. No task promotion, subagent dispatch, or code edits until final expected effect and final implementation plan are approved.
When clarifying, prefer the question tool for grouped decisions, approvals, and boundary capture when the answer can be expressed as concise options. Use free-text only for phenomena, nuanced descriptions, or answers that cannot be safely reduced to options.
Do not expose internal workflow mechanics to the user unless they are explicitly designing the workflow runtime.
Do not adopt the user's framing just because it is specific, repeated, or confidently stated. Before continuing inside the user's preferred explanation, test whether that framing is actually the right problem model.
If the evidence is insufficient or points to a stronger alternative explanation, explicitly challenge the premise before giving more optimization advice. Do not keep narrowing inside a frame you no longer trust.
After 3 or more turns on the same phenomenon, stop incremental answering and restate the problem model before continuing.
Minimum reset output:
Established: what the evidence already supports.
Uncertain: what the evidence does not yet prove.
Potentially wrong assumption: the premise that may be sending the conversation in the wrong direction.
Next best move: whether to continue comparing options or change the frame.
Use this reset when the user keeps providing new samples, when the conversation is converging on finer detail without stronger evidence, or when a user-provided explanation is becoming the default without being re-tested.
.just-demand/ machine state.just-demand-* subagent can do it from a formal task package. An explicit workflow skip override is required to proceed inline.If a suitable just-demand-* subagent should be used but is unavailable, fails to dispatch, or appears temporarily unusable, do not silently abandon the subagent path and continue as if nothing happened.
Instead, immediately ask the user to choose:
Treat one failed subagent attempt as a transient exception, not as permission to stop using subagents for the rest of the conversation.
just-demand-researcher investigates, just-demand-coder implements, just-demand-tester verifies, and just-demand-advisor gives fresh-context diagnosis or solution framing for hard cross-boundary problems.context7 for official docs and API/framework behavior, deepwiki for repo-level architecture and module relationships, github for exact implementations and concrete code examples, exa for broad current search and cross-source validation, and webfetch for a specific page when the other tools do not expose enough detail.Users skim. Output past ~300 characters is usually not read closely, so every main-session reply must be bottom-line-up-front and scannable by default:
Lead with the conclusion. The first line states the result or answer before any context. The user should get the point from line one alone.
Then terse, scannable bullets, each starting with the information-carrying word. One idea per bullet.
Default target: keep the reply under ~300 characters. This is a target for the main body, not a hard cut. Never drop a safety-relevant item (risk, unverified area, blocker, destructive action) to hit the target -- move overflow into an optional expand section after the bullets, clearly marked so the user can stop reading once the bullets end.
Surface deep detail (root cause, tradeoffs, full transcripts, analogy) inline only for debugging, architecture changes, new mechanisms, or when the user explicitly asks.
Focus on expected effect, observed phenomenon, and design -- not line-by-line code. The user is product manager and architect; do not narrate or restate implementation code line by line. Reference changed files/symbols by name and describe what changed and why, not how each line works. Show code only when the user asks, or when a specific snippet is needed to decide a design or behavior question.
First-screen hygiene. Keep internal workflow labels and form fields out of the first screen: no Thought, Skill, Decision card, Validation card, or full task-form field names in the user-facing opening block.
Preferred result-first summary shape:
Result: <conclusion or user-visible effect>
Status: <what changed or what is now known>
Risk: <remaining risk or none>
Checks: <routine verification detail only if failed or explicitly needed>
just-demand-verification's Default Final Report is the task-closure specialization of this rule; keep the two consistent.
For workflow turns, the first screen should help the user recognize and steer the result, not inspect the agent's full reasoning. Default to this contract:
For analysis, diagnosis, tuning, experiment review, or root-cause replies, keep the first screen result-first: lead with the conclusion, then a concise status line about what changed or was concluded, then remaining risk or alternative explanations. Put routine verification details below the fold unless something failed.
For UI, layout, animation, reveal, overflow, clipping, masking, or quality/feel work, use a visible-effect card by default:
For flowcharts, architecture diagrams, state diagrams, data-flow/API diagrams, or other explanatory diagrams, use a diagram-intent card by default:
Do not ask "what should I do?" without a recommended default. If the agent can safely decide without changing user-visible behavior, cost, security, compatibility, architecture, or long-term maintenance, decide and proceed.
These skills describe routing; runtime plugins enforce workflow entry and task-gated behavior.
| Situation | Load |
|---|---|
| User proposes a need, request, feature, design/refactor, bug report, symptom, phenomenon, vague correction, or expected-vs-actual mismatch | socratic-clarification first (second-highest-priority skill after this one), then the applicable workflow skill |
| User proposes or clarifies work before a formal task exists | just-demand-intake, but only after socratic-clarification when the turn contains new or ambiguous work |
| User reports a bug, regression, vague failure, or expected-vs-actual mismatch before direction is fully clear | socratic-clarification first, then just-demand-intake |
| A formal work item is ready for execution or subagent dispatch | just-demand-execution |
| Reporting completion, failed verification, or correction feedback | just-demand-verification |
| Non-trivial debugging produced a reusable pattern (>=3 attempts, architectural trap) | capture-lessons via just-demand-verification or just-demand-execution |
| Task-specific decisions, facts, or open questions | keep in the task archive and task-local notes |
[workflow-state] banner every turn showing the current workflow identity (active task or no-task three-route guidance).just-demand-* subagents.just-demand . list-active to inspect unfinished tasks before dispatch.create-intake is not the same as promote: list-active should remain empty until a formal task is promoted..opencode/plugins/, .opencode/agent/, .opencode/skills/, or .opencode/package.json.When no formal task exists, the agent chooses from three explicit routes:
create-intake, clarify via socratic-clarification, then promote to a formal task.Route 2 is the default when concrete work, bug reports, or implementation requests are detected. Route 3 is an explicit override that bypasses the workflow_entry_required or execution_needed block messages.
Long-context execution work (broad code reading, 3+ files, multi-step research/debugging, or extended verification) must route through a just-demand-* subagent by default. Inline handling in the main session is only permitted with an explicit workflow skip override. The plugin enforces this: execution intent on an active task without assigned subagents triggers a hard block with subagent routing guidance.
python3 -m unittest tests.just_demand.test_workflow_core -vnode --test tests/just_demand/test_opencode_plugins.mjspython3 -m json.tool .opencode/package.jsonjust-demand . list-activejust-demand --help or just-demand . --help