Skip to content

gtrabanco/agentic-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Agentic Workflow Skills

πŸ‡ͺπŸ‡Έ VersiΓ³n en espaΓ±ol

A reusable set of agent skills that run a disciplined, doc-driven workflow for building software with agents β€” from idea/issue to a reviewed, classified, merge-ready change. The skills are project-adaptive: they discover and obey each repository's own guide, architecture, roadmap and style docs at runtime, so the same workflow works on any stack.

They are plain Markdown (SKILL.md files), so they work with any agent that reads skills β€” Claude Code, Cursor, Codex, OpenCode, Cline, and 70+ others β€” installed with the skills CLI (see Install).

The examples in docs/ are generic and illustrative; the skills themselves are stack-agnostic and architecture-agnostic.

What's inside

skills/                  the 13 skills (9 user-facing + 4 internal) β€” the installable source
.claude/skills           symlink β†’ ../skills, so this repo dogfoods them in Claude Code
template/                 the exportable documentation scaffold (the substrate the skills read)
docs/workflow/           the full tutorial (feature flow, issue flow, reference, replication)
docs/features/_TEMPLATE  feature SPEC template + ROADMAP (the planning artifacts skills produce)
docs/fix/                fix SPEC template + index
.github/                 issue + PR templates the workflow expects

The skills are the behavior; template/ is the substrate they read (a generic CLAUDE.md + documentation map, SPEC/feature/fix templates, and GitHub templates). Scaffold a new project's way of working with npx degit gtrabanco/agentic-workflow/template my-project β€” see docs/workflow/REPLICATE.md.

The skills

9 user-facing skills (one menu entry each) + 4 internal steps composed for you (the plan-feature router's three planning steps + the review-change engine). One disciplined path: plan β†’ execute β†’ review β†’ audit β†’ merge.

Setup

Skill What it does
init-workspace Fetches the template/ scaffold and adapts it to your project by interview (gate, doc map, architecture); suggests the companion review skills your platform needs; offers to install the skills

Plan

Skill What it does
plan-feature One entry point to plan a feature. Detects the input β€” a raw idea (interview), an issue #N (issue β†’ scoped SPEC), or a scoped slug/SPEC (straight to scaffolding) β€” routes to the right step, then registers the roadmap entry. --next plans the next roadmap item.
plan-fix The fix-flow counterpart: architect-drafts a tightly-scoped fix SPEC from an issue, commits on a fix branch, stops for review.

You only ever call plan-feature; it composes the internal steps plan-feature-interview, plan-feature-from-issue, and plan-feature-scaffold (hidden from the menu).

Execute

Skill What it does
execute-phase Implements one phase of a feature (default), a small feature in a single pass, or a fix (--fix). Gate-verified, one commit per phase; hands off to review-change every 2 phases (a review checkpoint, so it runs at its own model/effort).

Review & audit β€” change β†’ PR β†’ product

Skill Scope What it does
review-change the change Runs only the reviews that apply to your platform (code, security, verify, design, a11y, brand, perf, SEO) and classifies β†’ one decision table + an explicit manual-verification checklist
audit-pr the PR Merge gate: acceptance met, all phases done, docs/tests/CI green, Closes #N, review axes clean β†’ merge-ready or a list of blockers
product-audit the product Periodic full-spectrum health check; mines feature docs β†’ proposes issues + roadmap add/remove (never auto-fixes)
audit-docs the docs Audits docs ↔ roadmap ↔ code ↔ fix index for drift

review-change's findings engine is the internal review-implementation β€” the two-phase find β†’ classify pass it composes (and audit-pr / product-audit reuse). It's not a menu entry; you reach it through review-change.

Decide

Skill What it does
triage-issue Classifies an issue (fix-now / promote / postpone / wontfix) by verifying its trigger against the code

Companion skills for UI/UX and language-specific quality (design, ux, typing…) are not bundled β€” review-change and product-audit compose them when installed, and init-workspace suggests the right ones per platform. See docs/workflow/RECOMMENDED_SKILLS.md for which apply when.

Upgrading from an older install? See docs/workflow/MIGRATION.md β€” three skills were renamed, so re-add to update + delete the three old folders.

Versioning. Each skill is versioned independently (version: in its frontmatter); changes are logged in CHANGELOG.md. Upgrade an install with npx skills update.

Recommended model & effort

Each skill pre-sets its model and effort in frontmatter (table below). The model uses a floating tier alias (opus/sonnet/haiku) that auto-updates to the latest version β€” so it never goes stale. Both apply only for that skill's turn; your session model/effort resume afterward. You stay in control: to change them, edit the skill's model: / effort: lines (or model: inherit to follow your session).

Skill Model tier Effort Why
init-workspace Opus high interview-driven project bootstrap + adaptation
plan-feature Opus high router + planning: its internal interview/scoping steps run in its turn, so the router must carry the effort (composed skills inherit the turn's effort)
plan-fix Opus high architect-level scoping + risk analysis
execute-phase Sonnet medium mechanical implementation per SPEC β€” one phase or single-pass (Opus if the logic is subtle)
review-change Opus high platform-adaptive review orchestration + synthesis
audit-pr Opus high whole-PR merge-readiness judgement
product-audit Opus max product-wide multi-axis sweep + proposals
audit-docs Sonnet medium mostly mechanical cross-document checks (Opus for deep audits)
triage-issue Opus high verify triggers against the code; judgement call

The 4 internal steps aren't selected directly. Because they're composed within a caller's turn, they inherit that turn's model/effort (a skill's model/effort is fixed at turn start) β€” the values in their frontmatter (review-implementation, plan-feature-interview, plan-feature-from-issue high; plan-feature-scaffold medium) are declared defaults for a direct run, which is why the plan-feature router itself carries high.

Rule of thumb: planning, judgement, review and audit β†’ Opus (high, or max for the product-wide sweep); mechanical execution β†’ Sonnet, medium (bump to Opus when the logic is subtle).

How to use them

Full tutorial in docs/workflow/. In short:

Build a feature

/plan-feature "<your idea>"     # or  /plan-feature <N> (issue)  Β·  /plan-feature --next (next roadmap item)
        β†’ router detects idea / issue / scoped slug β†’ interview Β· issue analysis Β· scaffold
        β†’ fills the SPEC + PLAN + TASKS + … and registers the roadmap entry
/execute-phase <NN> <phase>     # one phase at a time, gate-verified, one commit each
        β†’ review checkpoint every 2 phases: hands off to /review-change (runs at its own model/effort)
/review-change                  # the reviews that apply to this change, classified (no refactor)
/audit-pr                       # merge gate: merge-ready or blockers
gh pr create --base main        # "Closes #N" if it came from an issue

See docs/workflow/FEATURE_WORKFLOW.md.

Handle an issue

/triage-issue <N>
   β†’ reads the issue's "when to fix" trigger, verifies it against the current code
   β†’ fix-now  β†’ plan-fix β†’ execute-phase --fix
     promote  β†’ plan-feature   (the router takes the issue β†’ scoped SPEC)
     postpone β†’ dated comment, leave open (no inline work)
     wontfix  β†’ propose close

See docs/workflow/ISSUE_WORKFLOW.md.

Review, audit & classify

/review-change                  # runs the right reviews per platform + classifies β†’ one table + manual checks
/audit-pr                       # is THIS PR ready to merge?  merge-ready or blockers
/product-audit                  # where does the whole product stand?  issues + roadmap proposals
/audit-docs                     # did the docs drift from code / roadmap?

See docs/workflow/REVIEW_AND_CLASSIFY.md.

Core principles

  1. Docs drive the work β€” every skill reads the project's guide, doc map, architecture, roadmap and style docs first, and respects them.
  2. Plan before code β€” features get a SPEC + artifacts before a line is written.
  3. One phase at a time β€” each verified and committed separately.
  4. One PR per unit, against the default branch β€” never on main, never stacked.
  5. Evidence over reflex β€” triage verifies triggers; deferred work is tracked, not inlined.
  6. Gate before commit β€” type-check + tests + build green.

Install

Use the skills CLI β€” it reads the SKILL.md files straight from this repo and installs them into whatever agent you use (it auto-detects Claude Code, Cursor, Codex, OpenCode, Cline, and 70+ more).

# From the root of the TARGET repository β€” install all 13 skills:
npx skills add gtrabanco/agentic-workflow

# Pick specific skills, or target a specific agent:
npx skills add gtrabanco/agentic-workflow --skill plan-feature --skill triage-issue
npx skills add gtrabanco/agentic-workflow --agent claude-code --agent cursor

# Install for the current user (global) instead of the current project:
npx skills add gtrabanco/agentic-workflow --global

# Manage them later:
npx skills list
npx skills update
npx skills remove plan-feature

No npm publish, no registry, no build step β€” skills clones the repo and copies (or symlinks) the skill folders into the right place for each agent. The skills discover the target project at runtime (agent guide, documentation map, architecture, roadmap, fix index), so they work immediately without per-repo configuration.

Prefer the skills regenerated and re-tuned to a different project's conventions instead of copied verbatim? See the adaptive portable prompt. Full details and the "which method when" guide live in docs/workflow/REPLICATE.md.

Recommended companion skills

docs/workflow/RECOMMENDED_SKILLS.md lists the stack-agnostic quality & architecture skills worth having (e.g. karpathy-guidelines, code-review, security-review, simplify, skill-creator, the engineering:* set), and β€” crucially β€” which ones to skip for a given project (e.g. design skills for a terminal program, claude-api with no LLM features).

License

MIT Β© Gabriel Trabanco β€” see LICENSE.

About

Stack-agnostic agentic-programming workflow skills + documentation scaffold

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors