forgeflow-consult
Skill1 starsChanged 45 days agoMITView on GitHub
Run the Forgeflow consultation workflow to produce an implementation brief before coding.
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/forgeflow-lean.mdcCursor rule
- aegis-verifySkill
- agent-chat-offSkill
- agent-chat-onSkill
- auditSkill
- consultSkill
- create-agentSkill
- debateSkill
- discussSkill
- forgeflow-capabilitiesSkill
- forgeflow-implementSkill
- forgeflow-research-divergence-adviceSkill
- forgeflow-research-divergence-evalSkill
- forgeflow-reviewSkill
- forge-reviewSkill
- implementSkill
- planSkill
- quickSkill
- researchSkill
- shipSkill
- taskSkill
- update-forgeflowSkill
- verifier-verifySkill
- forgeflow-auditSkill
- forgeflow-capabilitiesSkill
- forgeflow-implementSkill
- forgeflow-lean-auditSkill
- forgeflow-lean-debtSkill
- forgeflow-lean-primeSkill
- forgeflow-lean-reviewSkill
- forgeflow-leanSkill
- forgeflow-planSkill
- forgeflow-research-divergence-adviceSkill
- forgeflow-reviewSkill
- forgeflow-shipSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Use this skill when the user wants the Forgeflow team to design the approach before implementation.
- Very specific: line 23
Run scripts/forgeflow/check-context-budget.js --root .forgeflow --warn-only --json when available and surface any warnings.
- Very specific: line 25
Prefer existing CONTEXT.md files, the lane scope packet, and the compact memory context before reading full .forgeflow/current-*.md …
- Distinctive: line 34
If there is an existing Product Lead plan or research output, treat it as authoritative input unless the user asks to replace it.
- Distinctive: line 37
Do not start implementation inside this skill unless the user explicitly asks for it.
- Distinctive: line 72
Never use a metaphor, simile, or other figure of speech which you are used to seeing in print.
- Distinctive: line 73
Never use a long word where a short one will do.
- Distinctive: line 74
If it is possible to cut a word out, always cut it out.
- Distinctive: line 75
Never use the passive where you can use the active.
- Distinctive: line 76
Never use a foreign phrase, a scientific word, or a jargon word if you can think of an everyday English equivalent.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- forgeflow-capability-selection:start -->Automatic capability selection
Resolve select-capabilities.js from the checkout scripts/forgeflow, a host-supplied plugin root, or the installed ForgeFlow runtime for this host. Run node <helper-dir>/select-capabilities.js --guide and follow the shared selection procedure with phase consult and the current objective, criteria and affected scope. Reuse the same result across alias handoffs and pass it through existing context construction; do not reset reassessment limits. Missing runtime support is an explicit limitation, not a reason to invent selection results. Preserve current workflow read-only and isolation boundaries. Planned capabilities are not executable and selection grants no new authority.
<!-- forgeflow-capability-selection:end -->At workflow entry, run node <helper-dir>/open-session-dashboard.js --root <project-root> --workflow forgeflow-consult when available. Resolve <helper-dir> from the checkout's scripts/forgeflow first, then ${CODEX_HOME:-$HOME/.codex}/forgeflow/scripts/forgeflow. The helper starts or reuses agent-chat and reports known workflow phases on each entry; it uses CODEX_THREAD_ID, CLAUDE_SESSION_ID, or FORGEFLOW_SESSION_ID to open the local dashboard once per session. If the host supplies a session id separately, pass --session <host-session-id>; never invent a new id per invocation. Headless runs and FORGEFLOW_DASHBOARD_AUTO_OPEN=off skip the launch. A missing helper or unavailable browser must not block the workflow. Report actual phase transitions, significant progress, waiting, and the final result with node <runtime-root>/services/agent-chat/client.js activity <state> "<short label>" (<runtime-root> is the checkout or installed forgeflow directory). Use complete only when work and required checks have finished; report failed for failures, and never invent progress to keep Ember moving.
Use this skill when the user wants the Forgeflow team to design the approach before implementation.
Resolve every scripts/forgeflow/... helper from the current checkout first, then from ${CODEX_HOME:-$HOME/.codex}/forgeflow/scripts/forgeflow. A missing helper means the Codex runtime installation needs repair; it does not mean the workflow is unsupported in Codex.
Workflow:
- Build compact local memory context with
scripts/forgeflow/build-memory-context.jswhen available. - Build first-pass file ownership packets with
scripts/forgeflow/build-scope-manifest.jswhen available. - Render
scripts/forgeflow/render-lean-decision.js --task "<request>"when available and carry the compact lean decision into the implementation brief. - Run
scripts/forgeflow/check-context-budget.js --root .forgeflow --warn-only --jsonwhen available and surface any warnings. - Gather focused context for the requested feature.
- Prefer existing
CONTEXT.mdfiles, the lane scope packet, and the compact memory context before reading full.forgeflow/current-*.mdartifacts. - Select and explain the consultation route using the criteria below. Available specialists are
builder_consultant,guardian_consultant,designer_consultant, andcoordinator_consultant. Pass only relevant context to the selected lanes. - Spawn the selected consultants, in parallel when their work is independent, and wait for their briefs.
- Spawn
architect_consultantwith the task, gathered context, selected outputs, routing note, and the lean decision. Resolve any uncovered decision with the relevant consultant before finalizing. - Save the result to
.forgeflow/<project-name>/current-brief.mdwhen appropriate. - Present the implementation brief with ownership, sequencing, interfaces, lean decision, and open questions.
Rules:
- Optimize for a brief that implementers can execute without ambiguity.
- If there is an existing Product Lead plan or research output, treat it as authoritative input unless the user asks to replace it.
- Include a compact
## Lean Decisionsection with do-first, avoid-first, validate-with, do-not-simplify, and upgrade-when guidance when available. - Lean guidance is advisory only. It cannot override explicit requirements, security, accessibility, validation, or data-loss safeguards.
- Do not start implementation inside this skill unless the user explicitly asks for it.
Consultation routing
Choose the consultation team from the requested behavior, affected code, known risks, and unresolved decisions. File count, line count, helper lane labels, and the mere presence of an installed dependency are not enough to choose a team. Honor explicit requests for named specialists or the full team.
For a bounded change with known scope and an established approach, start with the primary domain consultant. Add another consultant only for a concrete decision or risk that needs that specialty:
- Builder: application logic, data modeling, backend structure, tooling, or code craft.
- Guardian: authentication, authorization, secrets, security trust boundaries, or meaningful risk of persistent data loss. Include Guardian for these concerns even in a tiny change; ordinary local CLI parsing does not automatically require a security consultation.
- Designer: frontend behavior, accessibility, or service connectivity/interface decisions. A CLI with existing diagnostics and no changed service boundary does not need a Designer lane solely because it is user-facing.
- Coordinator: unresolved ownership, coordination across work streams, or project history that materially affects the decision. The orchestrator can record a small task's notes and obvious file ownership without a separate Coordinator consultation.
Missing context is uncertainty, not evidence of low risk. Resolve it with focused discovery by the primary consultant, and add the relevant expert when a boundary or risk emerges. Use broader consultation when cross-domain scope or unresolved uncertainty needs it; use the full team when all domains are needed or explicitly requested.
Before spawning, state the included and skipped consultants, the concrete reasons, and what would reopen routing. Pass that route with the selected briefs to Architect. If a consultant or Architect identifies an uncovered decision, add the relevant consultant and update the route before finalizing the brief. Do not restart completed lanes or invent outputs or approvals for skipped agents.
Architect still synthesizes the brief, including after a single-consultant route. A smaller consultation does not remove independent Product Lead validation, integration checking, or the final review workflow. Include the route and any escalation in the saved brief so the next phase can see what was and was not examined.
Suggested prompts:
$forgeflow-consult design the approach for adding OAuth login$forgeflow-consult use docs/spec.md and produce an implementation brief
Task evidence continuity
Use the shared task workflow for a bounded change with an accepted objective or brief. Resolve task.js from the same runtime helper directory used above. Run list --root <project-root> and reuse only the task explicitly selected by the user or matching the current objective and scope. Do not attach an unrelated task based only on recency. If this is a new accepted change, create a task using its objective and behavioral acceptance criteria; the task workflow describes the JSON contract.
Keep the same task id across consult, implement, review and ship. Use check for actual validation commands and saved evidence for observed manual/reviewer results. Record a checkpoint at each completed phase and before interruption, including the actual host/session identity when available. A saved plan, successful build, or reviewer verdict alone must not mark every criterion verified. Waivers require explicit user intent and a reason.
Before reporting completion or preparing a shipping handoff, read status --root <project-root> --task <id>. Stale/missing/failed criteria and pending actions remain visible. Reconcile interrupted actions from actual evidence, then use resume; never silently replay unknown work. Legacy work without task records stays supported but has no source-bound task completion claim. All remote authorization rules above still apply.
Writing for CLI output
Apply George Orwell's six rules to progress updates, agent reports, and final summaries:
- Never use a metaphor, simile, or other figure of speech which you are used to seeing in print.
- Never use a long word where a short one will do.
- If it is possible to cut a word out, always cut it out.
- Never use the passive where you can use the active.
- Never use a foreign phrase, a scientific word, or a jargon word if you can think of an everyday English equivalent.
- Break any of these rules sooner than say anything outright barbarous.
Lead with the result or next action and its effect on the user's task. Match their technical background and requested detail. Explain an unfamiliar term when needed; retain precise terms for specialist reports. Use a calm, conversational voice and natural contractions. These rules take precedence over persona style and sample prose.
Use connected, short paragraphs with natural sentence variation. Use lists for steps or comparisons and headings when they help navigation. Cut repeated openings, stock transitions, rhetorical questions, forced praise, persona banter, and em dashes in prose. Warmth comes from noticing the user's actual concern and helping them act.
Progress updates should explain a finding, decision, blocker, or what the next check will resolve. Avoid narrating each tool call or repeating the plan. Ask only for information or authorization needed to proceed; explain why it matters. Final replies should stand alone: state what changed, why, what was checked, and any remaining action. Scale the detail to the task. Summarize routine checks; include tool names, versions, and internal counts only when they affect the reader's next decision. Keep validation gaps explicit.
Replace vague benefits with observable behavior. Use a brief example when it clarifies the change; label hypothetical examples. Never invent measurements, personal experiences, user reactions, test results, or approvals to make writing vivid. Keep uncertainty and failures explicit.
Preserve exact commands, code, paths, identifiers, error text, schema keys, verdict labels, and required evidence. Keep required report sections and machine-readable formats; apply style changes only to their prose. JSON-only outputs stay JSON-only. Before sending, check for awkward rhythm, repetition, unsupported claims, and whether the reader can tell what happens next. Clarity and faithful evidence are the goal; detector scores are not a quality gate.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

