agentleFS
simscalsimscal/sapiens-dtj/.claude/skills/github-templates/SKILL.md

github-templates

Skill0 starsChanged 4 months agoMITView on GitHub

Use to produce GitHub issue bodies, PR descriptions, and issue/PR comments. Owns template lookup-and-fill for the issue/PR/comment surface — the single source for their structure.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. hugobatista/agent-skills★ 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 repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read reference file (path in index) — authoritative for structure + field spec.

    line 14
  2. Very specific:

    Every file under references/ follows this shape:

    line 73
  3. Very specific:

    Never read template reference files outside references/.

    line 119
  4. Distinctive:

    Never invent fields not in the reference spec.

    line 120
  5. Very specific:

    Never emit empty sections, placeholder text, or {field} markers in the output.

    line 121
  6. Distinctive:

    Never write to disk — return the string.

    line 122
  7. Distinctive:

    Never fuzzy-match template names — exact match against the index or error.

    line 123

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

GitHub Templates

render_template(name, fields) = convention, not a runtime function: look up the named template's reference file, fill fields per its spec, use the resulting markdown. Lookup-and-fill happens inside the agent.

Workflow

  1. Resolve name against Template Index. Unknown → stop: "Unknown template <name>. Known templates: <list>." No fuzzy-matching.
  2. Read reference file (path in index) — authoritative for structure + field spec.
  3. Validate fields per Field Conventions. Missing required → stop and list them. Extra fields → drop silently.
  4. Fill fields per the reference → return the markdown string; never write to disk.

Field Conventions

TypeSpec notationRender behaviour
stringsummary: stringInserted verbatim
string?description: string?Optional; whole section omitted if absent
list<string>changes: list<string>Bullet list, one item per line
list<string>?acceptance_criteria: list<string>?Optional; whole section omitted if absent
issue_refcloses: issue_refValidated against #N format
issue_ref?depends_on: issue_ref?Optional
list<issue_ref>related: list<issue_ref>Validated; rendered comma-separated
enum<a|b|c>severity: enum<low|medium|high>Validated against allowed values

Rules:

  • Required field with no value → stop with a clear error listing the missing field(s).
  • Optional field (?) with no value → omit the section entirely; no empty headings or placeholders.
  • List with zero items → treat as absent (omit the section).
  • Field values inserted verbatim — the caller handles markdown escaping within values.

Template Index

Templaterender_template() nameReference file
Issue: User Storyissue-user-storyreferences/issue-user-story.md
Issue: Requirementissue-requirementreferences/issue-requirement.md
Issue: Bug Reportissue-bug-reportreferences/issue-bug-report.md
Issue: TDDissue-technical-designreferences/issue-technical-design.md
Acceptance Criteriaacceptance-criteriareferences/acceptance-criteria.md
PR: Storypr-storyreferences/pr-story.md
PR: Bug Fixpr-bugreferences/pr-bug.md
PR: Revertpr-revertreferences/pr-revert.md
PR: Releasepr-releasereferences/pr-release.md
PR: Designspr-designsreferences/pr-designs.md
PR: Design Systempr-design-systemreferences/pr-design-system.md
Comment: Sprint Summarycomment-sprint-summaryreferences/comment-sprint-summary.md
Comment: Dev Investigationcomment-dev-investigationreferences/comment-dev-investigation.md
Comment: Bug Summarycomment-bug-summaryreferences/comment-bug-summary.md
Comment: Refactor Summarycomment-refactor-summaryreferences/comment-refactor-summary.md
Comment: Design Hubcomment-design-hubreferences/comment-design-hub.md
Comment: Design Completecomment-design-completereferences/comment-design-complete.md
Issue: Technical Storyissue-technical-storyreferences/issue-technical-story.md
PR: Refactorpr-refactorreferences/pr-refactor.md

Removed Templates

Template removed → add a row here with the replacement so old names get a clear migration path.

Removed nameReplacementNotes
issue-redesign-briefissue-requirementRedesign now uses the same workflow as feature requirements
comment-redesign-hub—Redesign workflow removed

Reference File Format

Every file under references/ follows this shape:

# <Template name>

## Purpose

One-line description of when this template is used.

## Fields

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| summary | string | yes | One-line summary of the change |
| changes | list<string> | yes | Per-file change descriptions |
| closes | issue_ref | yes | Issue number this PR closes |
| test_command | string? | no | Test command if applicable |

## Template

\`\`\`markdown
## Summary

{summary}

## Changes

{changes}

## How to verify

{test_command?}
{manual_verification?}

Closes {closes}
\`\`\`

Field markers in the template body:

  • {field} — required; render verbatim.
  • {field?} — optional; absent → line omitted entirely (including surrounding whitespace).
  • {field} for a list field — rendered as a bullet list.

Constraints

  • Never read template reference files outside references/.
  • Never invent fields not in the reference spec.
  • Never emit empty sections, placeholder text, or {field} markers in the output.
  • Never write to disk — return the string; the caller decides what to do with it.
  • Never fuzzy-match template names — exact match against the index or error.
  • Reference files are the single source of truth; if this skill's body conflicts with a reference file, the reference file wins.

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.