agentleFS
RohiRIKRohiRIK/claude-code-config/skills/WorkflowGuide/SKILL.md

WorkflowGuide

Skill10 starsChanged 5 months agoMITView on GitHub

Pick the right workflow path (Layer 1 daily vs Layer 2 spec-driven), and know when to use /build vs /dev vs /test and when to reach for context-mode over Bash. USE WHEN choosing a workflow for a task, or maintaining the context-mode MCP server.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After /plan confirms → switch to auto-accept mode (Shift+Tab×2) for implementation

    line 33
  2. Distinctive:

    Use the sandbox tools instead of Bash whenever raw output isn't needed directly:

    line 78
  3. Very specific:

    After editing any file in ~/.claude/plugins/marketplaces/context-mode/src/:

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Workflow Guide

Quick reference for picking the right path. Full detail: docs/workflow-daily.md · docs/workflow-dev.md

Which path?

Do you know exactly what to build? → Layer 2 (/spec) Figuring it out or moving fast? → Layer 1 (/plan)

SituationLayer
Trivial one-linerJust implement — no commands needed
Bug fixLayer 1: /test (ProveIt) → /simplify → /capture → /verify → /commit-push-pr
Small feature (clear scope)Layer 1: /plan → /build → /simplify → /capture → /verify → /commit-push-pr
Non-trivial featureLayer 2: /spec → /plan → /dev → /test → /simplify → /capture → /verify → /commit-push-pr

Layer 1 — Daily Workflow

Entry: /plan. You have a task and want to move.

[observe auto-fires] → /plan → IMPLEMENT (auto-accept: Shift+Tab×2) → /capture → /simplify → /verify → /commit-push-pr
  • [observe] is automatic — PrePlan hook fires when /plan is typed, injecting git state + topic-scoped LTM recalls
  • After /plan confirms → switch to auto-accept mode (Shift+Tab×2) for implementation
  • /test replaces the whole chain for bug fixes (ProveIt: write failing test → fix → pass)

Layer 2 — Dev Workflow

Entry: /spec (or /test for bugs). You know what to build and want it spec-driven.

/spec → /plan → /build (or /dev) → /test → /simplify → /capture → /verify → /commit-push-pr
  • /spec — recalls LTM + explores codebase → writes grounded spec with testable criteria
  • /plan — each task maps to one acceptance criterion from the spec
  • /build = task-by-task manual control · /dev = full automation
  • /test — final regression sweep across all changed files

Every Path Ends The Same Way

StepCommandWhat it does
Remove complexity/simplifycode-simplifier agent — flattens nesting, removes abstraction
Lock in context/capturesaves progress + fires /learn in one shot
Gate before ship/verifytsc → lint → tests → build → security → diff
Ship/commit-push-prconventional commit → push → PR

/verify is optional on small changes but mandatory before non-trivial PRs.


/build vs /dev vs /test

CommandWhen
/buildManual control — review between each task
/devFull automation — all tasks in one go
/testNo plan — standalone bug fix or isolated feature

Context-Safe Execution (context-mode MCP)

Use the sandbox tools instead of Bash whenever raw output isn't needed directly:

  • ctx_execute — tests, builds, type-checks, linters, log/error dumps, any command with >~1 KB output
  • ctx_batch_execute — multiple independent commands in one call
  • ctx_execute_file — process a file without reading raw text into context
  • ctx_fetch_and_index + ctx_search — large documentation pages (prefer over WebFetch >~5 KB)

Bash stays right for short diagnostics (git status, ls), commands whose raw output IS the answer, and interactive/TTY work.

Diagnostics: /context-mode:ctx-stats · /context-mode:ctx-doctor

Maintaining context-mode

The MCP server runs from a pre-built bundle (server.bundle.mjs), NOT from source. After editing any file in ~/.claude/plugins/marketplaces/context-mode/src/:

cd ~/.claude/plugins/marketplaces/context-mode
bunx esbuild src/server.ts --bundle --platform=node --target=node18 --format=esm \
  --outfile=server.bundle.mjs \
  --external:better-sqlite3 --external:turndown --external:turndown-plugin-gfm \
  --external:@mixmark-io/domino --external:zod --external:@modelcontextprotocol/sdk \
  --minify
pkill -f "server.bundle.mjs"   # Claude Code auto-restarts it on next tool use

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.