Xpersona
C

code-workflow

CLAWHUB · Unverified

4-stage code-change workflow: research → plan → user review → implement (TDD). Topics — steps (Step 0-3: resume + research + plan + review + branch), implement (Step 4: TDD + build + commit), pr (capture + PR with image/GIF/video). For issue implementation, tracked tasks, new features. TDD default (opt out --no-tdd). github-flow auto-companion on GitHub repos. Use when: "coding workflow", "research plan implement", "write plan", "plan md", "user review", "code plan", "code changes", "PR with screenshots", "pull request", "capture and PR".

62
Rank
84
Safety
2.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.4K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ay1v6v88r2m102pvvc44gz183qcrm:code-workflow
  1. Install using `clawhub skill install s17ay1v6v88r2m102pvvc44gz183qcrm:code-workflow` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/drumrobot/code-workflow before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-code-workflow/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

150,874 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: code-workflow
metadata:
  author: es6kr
  version: "0.1.2"
depends-on:
  - github-flow
  - tdd
  - web-browser
description: |
  4-stage code-change workflow: research → plan → user review → implement (TDD). Topics — steps (Step 0-3: resume + research + plan + review + branch), implement (Step 4: TDD + build + commit), pr (capture + PR with image/GIF/video). For issue implementation, tracked tasks, new features. TDD default (opt out --no-tdd). github-flow auto-companion on GitHub repos. Use when: "coding workflow", "research plan implement", "write plan", "plan md", "user review", "code plan", "code changes", "PR with screenshots", "pull request", "capture and PR".
triggers:
  - event: PreToolUse
    matcher: Bash
    pattern: "git (checkout -b|commit|push|pr create)"
    action: suggest
    message: "Git checkout -b, commit, push, or pr create detected. Verify you are following the 4-stage coding workflow (Research -> Plan -> User Review -> TDD Implement). Call Skill(\"code-workflow\", \"steps\") if needed."
  - event: PostToolUse
    matcher: "Edit|Write"
    pattern: "plan-.*\\.md|research-.*\\.md"
    exclude_content: "## .*(Audit|\\uAC10\\uC0AC)|audit_status:"
    action: suggest
    message: "plan-*.md or research-*.md file modification detected. Follow the code-workflow steps to author them, and call Skill(\"code-workflow\", \"steps\") for open decisions / trade-off verification."
---

# Coding Workflow

A **Research → Plan → User Review → Implement** 4-stage procedure for code change tasks.

## Configuration

| Option | Default | Description |
|--------|---------|-------------|
| `output-dir` | Configured `WSCFG_ARTIFACTS_PATH` (default: `.agents/docs/generated`) | Directory for generated research, plan, and walkthrough files; authoritative domain knowledge may be promoted to LLM Wiki via `raw-ingest` |

Set via project CLAUDE.md, workspace profile config, or skill invocation argument:

```text
/code-workflow --output-dir .agents/docs/generated
```

### Task Checklist Registration (MANDATORY Tool Call #1 HARD STOP)

Upon invoking `/code-workflow`, **registering/updating the task checklist MUST be Tool Call #1**. No research commands (`run_command`), file inspection (`view_file`), or search (`grep_search`) may precede task checklist registration.

**Checklist medium is environment-scoped (HARD STOP)**: `task.md` is the **Antigravity task artifact only**. Claude Code sessions register via `TaskCreate`/`TodoWrite`; when those tools are unavailable or disabled in the session, fall back to a **session-scratchpad checklist file** (a `.md` under the session's scratchpad directory) — never the workspace `.agents/task.md`, which belongs to Antigravity sessions and must not carry another harness's session state.

### TDD Red-First Task Breakdown (MANDATORY Default HARD STOP)

TDD is the default implementation discipline. When breaking down tasks in `task.md` or `implementation_plan.md`, **failing test creation (Red) MUST be registered as a

_meta.json

{
  "ownerId": "kn74k8yfvftx6f062qa8fzyd8h8373jd",
  "slug": "code-workflow",
  "version": "0.10.1",
  "publishedAt": 1789903387565
}

CHANGELOG.md

# Changelog

## [0.10.1](https://github.com/es6kr/skills/compare/code-workflow-v0.10.0...code-workflow-v0.10.1) (2026-09-20)


### Bug Fixes

* address code review feedback ([0c08bfb](https://github.com/es6kr/skills/commit/0c08bfbf2b5b737fdce685c8f15ead56c64290f4))
* **code-workflow:** exempt audit-annotation appends from plan-undecided-guard ([#507](https://github.com/es6kr/skills/issues/507)) ([bdaa8d3](https://github.com/es6kr/skills/commit/bdaa8d3d82fe993f58d013bba6df9904f10a6471))

## [0.10.0](https://github.com/es6kr/skills/compare/code-workflow-v0.9.1...code-workflow-v0.10.0) (2026-09-18)


### Features

* **code-workflow:** warn when a new artifact duplicates a same-topic sibling ([3404dd6](https://github.com/es6kr/skills/commit/3404dd6f6583bffe31d3243fec4da2ce5f882676))


### Bug Fixes

* **cleanup:** make the session-end report table self-sufficient ([#487](https://github.com/es6kr/skills/issues/487)) ([c4a0255](https://github.com/es6kr/skills/commit/c4a02557fb8de3b32cf337c549f62535dabf824b))

## [0.9.1](https://github.com/es6kr/skills/compare/code-workflow-v0.9.0...code-workflow-v0.9.1) (2026-09-08)


### Bug Fixes

* **code-workflow:** normalize Windows paths, restrict RAG evidence to tool_use ([c83fd03](https://github.com/es6kr/skills/commit/c83fd03cf32e07d928197fdbc52b52a542145584))
* **tdd:** scope the Red-only commit ban to shared branches ([fc2e6ec](https://github.com/es6kr/skills/commit/fc2e6ecdd1906c41d47955226e247aeb03a6f367))

## [0.9.0](https://github.com/es6kr/skills/compare/code-workflow-v0.8.0...code-workflow-v0.9.0) (2026-09-06)


### Features

* **code-workflow:** un-hardcode output-dir to WSCFG_ARTIFACTS_PATH and align wiki registration ([51c5b9d](https://github.com/es6kr/skills/commit/51c5b9d56348d3fe04538406964556cdce608dce))

## [0.8.0](https://github.com/es6kr/skills/compare/code-workflow-v0.7.1...code-workflow-v0.8.0) (2026-08-29)


### Features

* **skill-kit:** support exclude_content in trigger-compile and add unit tests ([f4400ef](https://github.com/es6kr/skills/commit/f4400ef586a666d9e16e001e84011bf1ec675425))


### Bug Fixes

* **consolidate:** address CodeRabbit review feedback on PR [#392](https://github.com/es6kr/skills/issues/392) ([3b50e26](https://github.com/es6kr/skills/commit/3b50e26d53666f069eb489211cc67a2820a7cd8a))
* **hook-kit:** document --json mode and scope WSCFG_* to hook scripts ([373634c](https://github.com/es6kr/skills/commit/373634c022b0e2b114a3bbb799bb9a8934c9fbb2))
* **hook-kit:** resolve RAG receiver from workspace config instead of mandating --rag ([58e85ec](https://github.com/es6kr/skills/commit/58e85ecbb437557544cd528281aa30b804bd2532))
* **hook-kit:** resolve RAG receiver from workspace config instead of mandating --rag ([1412773](https://github.com/es6kr/skills/commit/1412773466d11354eca7521e4351faa5a78d9081))
* **hook-kit:** scope PR-URL bare-ref check to per-number match, allow force-push in worktrees ([dd50dce](https://github.com/es6kr/skills/commit/dd50dced989eed4847daaf9a0cd4

implement.md

# Implement (Step 4 — TDD by Default)

After plan approval and branch creation (Steps 0-3 in [steps.md](./steps.md)), implement the changes.

## Plan Acceptance Gate (MANDATORY — before any Edit/Write/commit)

Before the first Edit/Write/commit in Step 4, verify all 4 items:

1. **Plan exists**: a `plan-*.md` artifact is present in the configured `output-dir` (see [SKILL.md](./SKILL.md) Configuration — resolved via `WSCFG_ARTIFACTS_PATH`, default `.agents/docs/generated` or workspace-configured path)
2. **Plan posted (when linked to a GitHub issue/PR)**: the plan body has been posted via `github-flow/plan-to-issue` and the comment URL is recorded
3. **Explicit user approval recorded**: the user verbally, via AskUserQuestion option, or via a signed-off plan acceptance checklist signaled "approve / proceed / implement". A short prompt such as "keep going" / "continue task" / "next" / "go" does **not** satisfy this item alone — these are ambiguous verbs whose intent could be plan-acceptance, implement-entry, PR-creation, or resuming a pending task. An AskUserQuestion enumerating those branches is required first
4. **Plan acceptance checklist (when present in plan body)**: every `Plan acceptance checklist` / `Step 3 review items` line in the plan body is reviewed with the user

If any of 1-4 is unmet, **STOP**. Do not Edit/Write/commit. Issue an AskUserQuestion presenting the plan acceptance checklist items to the user. Only on explicit approval (item 3) may Step 4 proceed.

| # | Don't | Do |
|---|-------|-----|
| 1 | Interpret a short prompt ("keep going" / "continue task" / "next" / "go") as implement approval | Run the 4-item gate above. Short prompts trigger ambiguous-verb handling — AskUserQuestion is required |
| 2 | Treat a task description that lists "N. implement" as user approval | task description = work memo, not approval. Item 3 requires an explicit user signal |
| 3 | Plan posted to issue/PR comment + checklist unchecked → implement entry | Posted is not the same as accepted. AskUserQuestion presenting the checklist before Step 4 |
| 4 | Re-enter Step 4 across session resumes without re-checking items 1-4 | At each session entry the gate runs again — the prior session's task description alone does not carry approval forward |

**Violation case (2026-05-26)**: A plan for Skills-7-Phase3 was posted to issue #7 comment 4534769660 on 2026-05-25 (Phase 3 plan posted + plan acceptance checklist 0/6). The next-day session interpreted a short "continue task" prompt as implement approval, skipped the acceptance gate, and proceeded to publish.yml + verify-phase3.sh implementation, commit, push, and `github-flow pr` invocation. The user surfaced it as: "the plan is already posted — aren't you checking it?".

## Implementation Checklist Decomposition (HARD STOP — before the first Edit/Write)

Once the Plan Acceptance Gate passes, **decompose the approved plan into a visible execution checklist BEFORE writing any implementation code**. The goal is 

plan-research-search.md

# Plan/Research Pre-Search Obligation (HARD STOP)

Mandatory plan/research pre-search on entering a Task/issue/PR. Applies equally to **query/verification** entry actions, not only changes.

## Rule Body

When the user mentions `#N` or a domain keyword, the first action is a **Mandatory RAG & Corpus Pre-Lookup (HARD STOP)**:
1. **RAG Semantic Search**: Run vector memory / RAG semantic search (e.g. `python3 scripts/qdrant-search.py "<keywords>"`) to look up past research, plans, and session decisions.
2. **Workspace & Corpus Glob Search**: Search across active and peer documentation directories (`.agents/docs/generated/*<keyword>*.md`, `daegunsoftDev/.agents/docs/generated/*<keyword>*.md`, `llm-wiki/outputs/*<keyword>*.md`) using keyword matching regardless of prefix (`find -iname '*<keyword>*.md'`).
3. **Plan Glob before Query Commands**: Plan/Research search comes before query commands such as `gh issue view`, `gh pr view`, and `git log`.
4. **Mandatory Read & Prior Knowledge Section**: When relevant artifacts are found, **Read the body and map it to the work scope** → cite and synthesize them under a `## Prior Knowledge & Context` section in the new research document. Asserting "no prior plan/research exists" without physically executing RAG semantic search and LLM Wiki corpus search is STRICTLY FORBIDDEN.

### Trigger Verbs (all apply equally)

Both change verbs and query verbs trigger this rule:

- Change/action: "handle", "implement", "fix", "correct", "Resume", "restart", "start"
- **Query/verification**: "check progress", "status check", "how far along", "how is it going", "status", "current state", "query", "confirm"
- Analysis/planning: "analyze", "review", "plan", "next task"

### Trigger Keywords (domain)

Domain keywords in task descriptions and user messages are equal triggers alongside `#N`:

- Filenames/paths: specific files such as `deploy-master.yml`, `inventory.yml`, `proxy.ts`, `examples.tf`
- Tool/service names: `blueprint`, `semaphore`, `terraform`, `authentik`, `argocd`, `fable`, `harness`, etc.
- Job/step/resource names: workflow job names, terraform resources, ansible roles, etc.
- Work code names: task-unit aliases such as `Web-E2E-A/B/C`, `SSO-FIX-1`

Run all of the above items as **separate queries** (no single-prefix matching; multi-keyword OR matching instead).

## Don't / Do Table

| # | Don't | Do |
|---|-------|----|
| 1 | Proceed based only on TaskGet description | Run `Glob('**/.ralph/docs/generated/*<issue-number>*.md')` first → Read the plan if found |
| 2 | Assume "task description has enough information" | Task description is a summary; the plan contains the higher-level design. Check both before starting work |
| 3 | Complete only part of the plan and mark the task as completed | Create a mapping table between all plan items (§3, §4, etc.) and work results → split unfinished items into separate tasks |
| 4 | Omit the plan file reference when updating fix_plan.md after completing work | Explicitly state "Rela

Sponsored

Ads related to code-workflow and adjacent AI workflows.