跳到正文
cccskills
免费在 GitHub 公开

go

Classify a task and route it to the right workflow (fix / feature / epic). Use when the user runs /go or wants the adaptive workflow router.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md4.1 KB
  • agents/openai.yaml213 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/go — Adaptive Workflow Router

Single entry point for all development work. Classifies scope and routes to the right workflow.

Usage

/go                          # Pick highest-priority ready task
/go T-42                     # Work on specific task
/go EPIC-7                   # Run epic workflow
/go fix login redirect bug   # Describe work in free text
/go path/to/spec.md          # Read spec file, materialize Beads tasks
/go --epic <description>     # Force epic workflow

Input Handling

Empty input

bd ready

Pick the first unblocked, unclaimed task. If none: report "No ready work. Check bd ready or create new tasks."

Task/Epic ID (e.g., T-42, EPIC-7)

bd show <id>

Fetch details, then classify scope and route to workflow.

File path

Read the file as a spec. Materialize Beads tasks from it (see Spec Materialization below), then route.

Free text

Use the description directly. Classify scope, create a Beads task if needed, then route.

--epic flag

Force epic workflow regardless of scope classification.


Scope Classification

Evaluate the task to determine which workflow to use:

TierCriteriaRoutes To
FixSingle task, ≤3 files touched, clear scope, no new architectureworkflows/fix.md
FeatureSingle task, >3 files OR needs a plan OR new system/componentworkflows/feature.md
EpicEpic ID, --epic flag, or multiple tasks from specworkflows/epic.md

When in doubt about Fix vs Feature: check whether a plan would help. If yes → Feature.


Spec Materialization

When input is a file path, parse the spec and create Beads tasks:

  1. Read the file
  2. Identify distinct work items (look for headers, numbered lists, bullet points with verbs)
  3. For each item:
    bd create \
      --type <bug|feature|task|chore> \
      --title "[<repo from spec or ask>] <derived title>" \
      --priority <value> \
      --acceptance "<acceptance criterion if identifiable>"
    
    Set <value> using .claude/skills/beads-priority-assignment/SKILL.md.
  4. If items have clear dependencies (item B requires item A), add them:
    bd dep add <B-id> <A-id>   # B depends on A: the later item first, the earlier item second
    
  5. If there are 3+ related items: create an epic to group them
    bd create --type epic --title "<overall goal>" --priority <value>
    
    Epic <value>: same skill — reflect overall urgency of the group.
  6. Report what was created, then route

PR Stack Detection

Before routing, check for PR stacks (existing open PRs for the repo):

gh pr list --state open --json number,title,baseRefName,headRefName

If the current branch is part of a stack (a PR whose base is another feature branch):

  • Note the stack structure
  • When shipping later, use the correct base branch for the PR, not main

Routing

After classification, invoke the appropriate workflow:

→ Fix:     Follow .claude/workflows/fix.md
→ Feature: Follow .claude/workflows/feature.md
→ Epic:    Follow .claude/workflows/epic.md
           (Adopt the Lead Agent role from .claude/agents/lead.md)

Announce routing decision before starting:

Routing to: [Fix/Feature/Epic] workflow
Task: <id> — <title>
Reason: <1 sentence why this tier>

Error Handling

  • Task not found: bd show <id> returns empty → check ID, suggest bd ready
  • Ambiguous spec: >10 items from a single spec → ask user to confirm before materializing
  • No git repo: abort with instructions to git init
  • Beads unreachable (bd errors / Dolt server down): STOP — do not proceed without Beads. Run bd dolt start and retry; Beads tracking is mandatory for tracked work. (The SessionStart hook normally auto-starts the server.) Only if bd is genuinely not installed should you tell the user to install it before continuing.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

add-bead

免费

Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

add-repo

免费

Register a new sub-repo in the knowledge base.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

Add focused Bun unit tests for mission-critical behavior and edge cases — not blanket coverage.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

ask

免费

Answer questions about the codebase from knowledge files. Use when the user runs /ask or asks a domain/knowledge question about the repos.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

Meta-skill for creating Agent Forge skills under .claude/skills/ with SKILL.md, optional references/ and scripts/, and Bun scaffolds. Use when the user wants to add or author a skill, scaffold a new skill folder, or align skill docs with harness conventions (JSON script output, Beads for tasks).

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

Choose Beads issue priority (P0–P4, numeric, or named) from urgency, impact, and risk when creating or triaging work.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

查看 jupes 的全部技能

报告此技能的问题