agentleFS
aaddrickaaddrick/ticketmill/skills/forge-agent/SKILL.md

forge-agent

Skill18 starsChanged 4 months agoMITView on GitHub

Generate a project-specific agent definition for a ticketmill pipeline role (implementer, code reviewer, test validator, etc). Use when mill-init finds a role gap, or when asked to create an agent for a repo. Produces .claude/agents/<name>.md grounded in domain research and the actual codebase.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. ForgeyClap/claude-forge★ 2same name
    2. ForgeyClap/Forge-Core★ 2same name
    3. tz5514/zet-agent-skills-dist★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use WebSearch for the agent's domain, current year:

    line 23
  2. Distinctive:

    Read the repo's CLAUDE.md and README for hard conventions.

    line 33
  3. Very specific:

    Read 1-2 existing agents in .claude/agents/ for coordination conventions and deferral relationships to keep consistent.

    line 36
  4. Distinctive:

    Every anti-pattern is actionable and specific.

    line 71
  5. Distinctive:

    If invoked from mill-init: update the role map entry to the new agent name.

    line 86

≈ “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

forge-agent: generate a project agent for a pipeline role

Writing an agent is Test-Driven Development applied to a role definition: gather evidence first (domain best practices + how THIS codebase actually works), write the persona against that evidence, then check it against representative tasks. An agent written from generic knowledge alone is a generic agent. The codebase context is what earns its keep.

Inputs

  • The ROLE it fills (one of ticketmill's: implementer for a domain, task_reviewer, spec_reviewer, code_reviewer, contrarian, test_validator, simplifier, docblock_writer, doc_writer; or any role the user names).
  • The target repo root.

Step 1: Research the domain

Use WebSearch for the agent's domain, current year:

  • "[domain/framework] best practices [year]"
  • "[domain] anti-patterns" / "common mistakes"
  • "[technology] security considerations" (when applicable)

Harvest concrete, actionable items: these feed the anti-patterns section. Skip generic advice ("write clean code") that changes no behavior.

Step 2: Ground it in the codebase

  1. Read the repo's CLAUDE.md and README for hard conventions.
  2. Explore the structure the agent will work in (key directories, existing services/ modules, naming patterns, test layout).
  3. Read 1-2 existing agents in .claude/agents/ for coordination conventions and deferral relationships to keep consistent.

Step 3: Write the agent

File: <ROOT>/.claude/agents/<kebab-case-name>.md

---
name: agent-name
description: [Role statement]. Use for [specific task types].
---

You are a [specific role] with expertise in [domains], working on [this project].

## Core competencies
- [Capability]: specifics

**Not in scope** (defer to [other-agent]): [excluded domains]

## Anti-patterns to avoid
- **[Specific mistake]**: [what to do instead]   <- from research AND this codebase

## Project context
[Directory structure the agent works in; key commands (test, build, lint);
conventions from CLAUDE.md that constrain this agent's work]

## Coordination
[How it reports completion; who it defers to]

Quality bars (all must hold):

  • Description under 500 chars, states triggers, contains NO process summary (a process in the description gets followed INSTEAD of the agent body).
  • Persona names the project and stack. Never "you are a helpful assistant".
  • Every anti-pattern is actionable and specific; at least a few must come from THIS codebase, not just the web research.
  • Explicit scope boundaries with deferral targets when sibling agents exist.
  • Omit model: frontmatter unless the role demonstrably needs a specific tier.

Step 4: Check it

Pick 1-2 representative tasks for the role (e.g. for a code_reviewer: review the repo's most recent real PR diff). Walk through how the agent body handles them. Close the loopholes you find (scope violations, missing project commands, vague guidance) before delivering.

Step 5: Deliver

  1. Show the user the file and where it landed.
  2. If invoked from mill-init: update the role map entry to the new agent name.
  3. Mark expectations honestly: the agent is unvetted until it has been observed on real tasks. Recommend watching its first mill run's review/fix iterations (the run report's per-issue timeline shows exactly where an agent thrashed).
  4. Note the session-restart caveat: ticketmill's engine uses the agent file immediately (stage subagents read it directly), but the agent will not appear in the Task tool's registry for direct use until the session restarts.

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.