agentleFS
etretr/groundwork/skills/using-groundwork/SKILL.md

using-groundwork

Skill45 starsChanged 4 days agoMITView on GitHub

This skill should be used when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you think there is even a 1% chance a skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill.

    line 8
  2. Distinctive:

    IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE.

    line 10
  3. Very specific:

    In Claude Code: Use the Skill tool. When you invoke a skill, its content is loaded and presented to you—follow it directly.

    line 17
  4. Distinctive:

    In other environments: Check your platform's documentation for how skills are loaded.

    line 19
  5. Distinctive:

    When multiple skills could apply, use this order:

    line 135
  6. Distinctive:

    Rigid: follow exactly, don't adapt away discipline

    line 144
  7. Very specific:

    When working in a monorepo (.groundwork.yml exists):

    line 152
  8. Distinctive:

    Always check project context: before reading/writing specs

    line 153
  9. Very specific:

    If {{project_name}} is empty, prompt the user to select a project

    line 154
  10. Very specific:

    Use /groundwork:select-project to switch between projects

    line 156
  11. Very specific:

    Use /groundwork:setup-repo to configure the repo structure

    line 157

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
<EXTREMELY-IMPORTANT> If you think there is even a 1% chance a skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill.

IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT.

This is not negotiable. This is not optional. You cannot rationalize your way out of this. </EXTREMELY-IMPORTANT>

How to Access Skills

In Claude Code: Use the Skill tool. When you invoke a skill, its content is loaded and presented to you—follow it directly. Never use the Read tool on skill files.

In other environments: Check your platform's documentation for how skills are loaded.

Using Skills

The Rule

Invoke relevant or requested skills BEFORE any response or action. Even a 1% chance a skill might apply means that you should invoke the skill to check. If an invoked skill turns out to be wrong for the situation, you don't need to use it.

digraph skill_flow {
    "User message received" [shape=doublecircle];
    "Might any skill apply?" [shape=diamond];
    "Invoke Skill tool" [shape=box];
    "Announce: 'Using [skill] to [purpose]'" [shape=box];
    "Has checklist?" [shape=diamond];
    "Create task per checklist item" [shape=box];
    "Follow skill exactly" [shape=box];
    "Respond (including clarifications)" [shape=doublecircle];

    "User message received" -> "Might any skill apply?";
    "Might any skill apply?" -> "Invoke Skill tool" [label="yes, even 1%"];
    "Might any skill apply?" -> "Respond (including clarifications)" [label="definitely not"];
    "Invoke Skill tool" -> "Announce: 'Using [skill] to [purpose]'";
    "Announce: 'Using [skill] to [purpose]'" -> "Has checklist?";
    "Has checklist?" -> "Create task per checklist item" [label="yes"];
    "Has checklist?" -> "Follow skill exactly" [label="no"];
    "Create task per checklist item" -> "Follow skill exactly";
}

Lifecycle Map — work → skill

Find the work, invoke the skill. Dispatch tier matters:

  • (auto) — dual/library skills you invoke directly with the Skill tool, or that other skills call.
  • (user runs) — user-only leaves (disable-model-invocation: true). You cannot invoke or dispatch these; they are invisible to you at call time. When one fits, recommend the slash command and let the user run it. They are heavyweight or high-blast-radius (swarms, full PRD generation, autonomous loops, outward-facing deploy) on purpose.

Define / Discover

WorkSkill
Generate a PRD/specs from scratch/groundwork:design-product (user runs)
Clarify or stress-test a feature requestunderstanding-feature-requests (auto)
Design or reverse-engineer UX/groundwork:ux-design, /groundwork:source-ux-design-from-code (user runs)
Reverse-engineer specs/architecture from existing code/groundwork:source-product-specs-from-code, /groundwork:source-architecture-from-code (user runs)
Build/maintain the domain glossarydomain-modeling (auto)

Plan / Architect

WorkSkill
Translate PRD into architecturedesign-architecture (auto)
Adversarial tech comparison across options/groundwork:swarm-design-architecture (user runs)
Design a non-trivial module / interface / APIdesign-it-twice (auto)
Record a hard-to-reverse decisioncaptured in design-architecture (auto)
Break specs into tasks/groundwork:create-tasks (user runs)
Plan a single taskplan-task (auto)
Verify task list covers the PRDtask-validation-loop (auto)
Check code ↔ spec alignmentcheck-specs-alignment (auto)
Convert single-file spec/arch to directorysplit-specs, split-architecture (auto)

Build

WorkSkill
Execute task N / the next taskwork-on, work-on-next-task (auto)
Implement a planned task in isolationimplement-task (auto)
Build without a task / autonomously/groundwork:build-unplanned, /groundwork:just-do-it, /groundwork:just-do-it-swarming (user runs)
Write any feature or bugfixtest-driven-development (auto)
Ship thin slices behind a flagvertical-slice (auto)
Pressure-test a high-stakes/irreversible decisiondoubt-driven-development (auto)
Isolate work in a worktreeuse-git-worktree (auto)

Verify / Review / Debug

WorkSkill
Local multi-agent validation + autofixvalidate (auto)
Commit and merge a validated task worktreefinalize-task (auto)
Review a GitHub PR/groundwork:review-pr (user runs)
Investigate a bug systematicallydebug (auto), /groundwork:swarm-debug (user runs)

Ship

WorkSkill
Orchestrate the ship phase/groundwork:ship (user runs)
Add logging/metrics/tracesinstrument-observability (auto)
Roll out behind a flag in stagesstaged-rollout (auto)

Meta / Project

WorkSkill
Configure repo / switch projectsetup-repo, select-project (auto)
Hand off work to another sessionhandoff (auto)
Install or remove the optional statusline/groundwork:statusline [install|uninstall] (user runs)
List skills / health-check the plugin/groundwork:groundwork-help, /groundwork:groundwork-check (user runs)

Red Flags

These thoughts mean STOP—you're rationalizing:

ThoughtReality
"This is just a simple question"Questions are tasks. Check for skills.
"I need more context first"Skill check comes BEFORE clarifying questions.
"Let me explore the codebase first"Skills tell you HOW to explore. Check first.
"I can check git/files quickly"Files lack conversation context. Check for skills.
"Let me gather information first"Skills tell you HOW to gather information.
"This doesn't need a formal skill"If a skill exists, use it.
"I remember this skill"Skills evolve. Read current version.
"This doesn't count as a task"Action = task. Check for skills.
"The skill is overkill"Simple things become complex. Use it.
"I'll just do this one thing first"Check BEFORE doing anything.
"This feels productive"Undisciplined action wastes time. Skills prevent this.
"I know what that means"Knowing the concept ≠ using the skill. Invoke it.
"I'll just start working on the task"Task execution REQUIRES the work-on skill. Invoke it first.
"Let me implement this task"Always invoke work-on skill - it handles worktree isolation.

Skill Priority

When multiple skills could apply, use this order:

  1. Process skills first (design-product, design-architecture) - these determine HOW to approach the task
  2. Implementation skills second (tasks, test-driven-development) - these guide execution

"Let's build X" -> design-product first, then implementation skills.

Skill Types

Rigid: follow exactly, don't adapt away discipline

Flexible: adapt principles to context.

The skill itself tells you which type it is.

Monorepo Awareness

When working in a monorepo (.groundwork.yml exists):

  • Always check project context before reading/writing specs
  • If {{project_name}} is empty, prompt the user to select a project
  • All {{specs_dir}}/ paths resolve to the selected project's specs directory
  • Use /groundwork:select-project to switch between projects
  • Use /groundwork:setup-repo to configure the repo structure

User Instructions

Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.

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.