config/claude/skills/setup-workflow/SKILL.md
Set up the autonomous post-task workflow for a project. Injects the standard development pipeline into CLAUDE.md and installs all required skills and agents (docs-consolidator, ci-cd-pipeline, smoke-test, bug-bash-update, code-reviewer, debugger). Use at the start of a new project. Triggers on "setup workflow", "init workflow", "add workflow", or "set up project workflow".
npx skillsauth add cryptofish7/dotfiles setup-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Install the autonomous post-task development pipeline into a project's CLAUDE.md. All dependency skills and agents must be installed before running this skill.
This workflow requires 6 tools:
| Dependency | Type | Live path |
|-----------|------|-----------|
| docs-consolidator | Skill | ~/.claude/skills/docs-consolidator/SKILL.md |
| ci-cd-pipeline | Skill | ~/.claude/skills/ci-cd-pipeline/SKILL.md |
| smoke-test | Skill | ~/.claude/skills/smoke-test/SKILL.md |
| bug-bash-update | Skill | ~/.claude/skills/bug-bash-update/SKILL.md |
| code-reviewer | Agent | ~/.claude/agents/code-reviewer.md |
| debugger | Agent | ~/.claude/agents/debugger.md |
For each dependency in the table above, check if the live file exists:
SKILL.md exists at the live path..md file exists at the live path.~/.claude/skills/ci-cd-pipeline/references/deploy-prerequisites.mdIf all dependencies are present, proceed to Phase 2.
If any are missing, report which ones and stop:
Missing dependencies:
- [dependency name]: expected at [path]
Install the missing skills/agents before running setup-workflow.
Search for the project's CLAUDE.md file:
CLAUDE.md in the project rootdocs/CLAUDE.mdCLAUDE.md is a symlink to docs/CLAUDE.mdIf found, note the path. If not found, note that a new one will be created.
If CLAUDE.md exists:
## Workflow section already exists## Workflow to the next ## heading or end of file)Read references/workflow-template.md — this is the canonical workflow content.
If a Workflow section exists: Replace it (from ## Workflow up to but not including the next --- or ## heading) with the content of workflow-template.md.
If CLAUDE.md exists but has no Workflow section: Insert the workflow content after the first heading block (title + any introductory text before the first ---).
If a ## Quality Standards section already exists: Do not inject a duplicate. Only inject the Quality Standards section (from the template) when creating a new CLAUDE.md or when no such section exists.
If a ## BUG_BASH_GUIDE Discipline section already exists: Do not inject a duplicate. Only inject this section (from the template) when creating a new CLAUDE.md or when no such section exists. Apply the same conditional-inject pattern as Quality Standards.
If a ## Tasks Tracker Discipline section already exists: Do not inject a duplicate. Only inject this section (from the template) when creating a new CLAUDE.md or when no such section exists. When injecting into an existing CLAUDE.md, place it directly after ## BUG_BASH_GUIDE Discipline (or after ## Quality Standards if BUG_BASH_GUIDE Discipline is also absent).
If no CLAUDE.md exists: Create a new CLAUDE.md in the project root with this structure:
# CLAUDE.md
## Project — Development Guide
This file provides context for Claude Code sessions working on this project.
---
[workflow-template.md content here]
---
## Commands
[Auto-detect from pyproject.toml / package.json / Makefile / Cargo.toml and list the project's lint, format, typecheck, and test commands]
---
## Mistakes to Avoid
*Claude: After any correction, add a rule here. Be specific.*
references/workflow-template.md is the single source of truthtesting
Generate and maintain a local deploy script (scripts/deploy.sh). Discovers project services, deploys them locally, and health-checks each one. Use when the user asks to "smoke test", "deploy locally", "test local deploy", "update deploy script", "run deploy", or "run smoke test".
testing
Audit installed skills and agents for bloat, overlap, and improvement opportunities. Use when the user wants to review, audit, list, or improve their skills and agents. Triggers on "review skills", "audit skills", "list skills", "skill review", "improve skills".
development
Set up the autonomous post-task workflow for a project. Injects the standard development pipeline into AGENTS.md and installs all required skills and agents (docs-consolidator, ci-cd-pipeline, smoke-test, bug-bash-update, code-reviewer, debugger). Use at the start of a new project. Triggers on "setup workflow", "init workflow", "add workflow", or "set up project workflow".
tools
Analyze the current conversation for learnings and persist approved insights. Triggers on "reflect", "retrospective", "session review", "what did we learn", "conversation review".