agentleFS
arcasilesgrouparcasilesgroup/ai-engineering/skills/ai-issue-report/SKILL.md

ai-issue-report

Skill65 starsChanged 2 months agoApache-2.0View on GitHub

Reports reproducible faults as a local, allow-listed draft scanned for machine paths, PII, and secrets; shows exact bytes and SHA-256 before confirmation. Trigger: "report this bug", "file an issue", "send this upstream", or "write the incident report". Diagnose own-code failures first (/ai-debug); vulnerabilities require private disclosure.

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:

    Write the four fields in your own words.

    line 44
  2. Distinctive:

    Run the gate. Read the refusal if you get one: each code names what was found and in which field.

    line 45
  3. Distinctive:

    Read the previewed bytes and their SHA-256.

    line 48
  4. Distinctive:

    Not for: undiagnosed faults (/ai-debug), internal findings worth remembering (/ai-note), decisions (/ai-brainstorm), the docs themselves …

    line 77
  5. Very specific:

    Read by: the team, humans without session context Dies: immune while a permanent governor cites it.

    line 84

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

ai-issue-report — report the fault, collect nothing on the way

What it produces

A local draft (gitignored) plus the exact bytes that would leave, previewed with their SHA-256 — and nothing sent by anybody but the user.

The non-negotiable: what must never leave the machine

The payload is closed to allow-listed fields. Everything else is rejected at the gate, before the draft exists:

  • Machine paths — home directories and absolute paths on any OS: they leak the username and the project layout. The scan names the field and the match (ACCEPTANCE_MACHINE_PATH_*); the fix is to describe the same thing without the path.
  • Personal data (PII) — emails, names, phone numbers, account ids, tokens in URLs. ACCEPTANCE_PII_* names what was found; rewrite the sentence, not around the value.
  • Secrets — keys, passwords, session cookies, anything gitleaks would flag. ACCEPTANCE_GITLEAKS_SECRET is a hard refusal: no draft is written at all.
  • Logs, diffs, tracebacks, full command lines — there is no field for them, by design. A pasted command carries the path it ran from and often the arguments it ran with. Write the four fields in your own words instead: title, what happened, what you expected, one step per reproduction step.

A vulnerability (--kind security) NEVER becomes a public issue: the refusal prints the private disclosure route (SECURITY.md, the maintainer's security contact) and declines the public one before asking anything.

Steps

  1. Reproduce it first. A report of something that happened once is a report the person reading it cannot act on; the steps field is what makes the difference.
  2. Decide the kind before writing. Security → private route, always.
  3. Write the four fields in your own words. Never paste logs, diffs or tracebacks.
  4. Run the gate. Read the refusal if you get one: each code names what was found and in which field. Rewrite that field in words that do not carry the value — do not work around the scan.
  5. Read the previewed bytes and their SHA-256. They are exactly what would leave. If anything in there is not yours to publish, stop.
  6. Sending is separate and manual. Nothing is transmitted automatically: take the previewed bytes to the route your organisation or the upstream project uses (GitHub issue for bugs, SECURITY.md contact for vulnerabilities, your incident channel for incidents).

Writing the prose

The write-up follows the framework's single writing standard — read it before writing the fields: ai-write › references/documentation-writer.md. One idea per sentence, one meaning per word, nothing the environment already says. When the report is long (an incident post-mortem rather than a bug), hand the prose to /ai-write and keep this skill's gate as the last step before publishing.

The ai-engineering seam

  1. The governed post-mortem lives at .ai-engineering/reports/NNN-{slug}.html — readable without session context; the NNN numbering is never rewritten. It is styled by the artifact design system — ai-brainstorm › references/artifact-design.md — never by a stylesheet invented for the report.
  2. It is immune while DECISIONS.md cites it; uncited, it expires to gc (§21.3) — history is not rewritten, it is archived in git.
  3. The gate (paths/PII/secrets) runs on ANY text destined to leave a governed repo — it is the same discipline the git floor's gitleaks stage enforces at commit time, applied one step earlier, to prose.

Routing

In scope: reproducible faults bound for a team, an upstream project, or an incident review. Not for: undiagnosed faults (/ai-debug), internal findings worth remembering (/ai-note), decisions (/ai-brainstorm), the docs themselves (/ai-write).

Lifecycle

Lane: any Writes: .ai-engineering/reports/NNN-{slug}.html Read by: the team, humans without session context Dies: immune while a permanent governor cites it; doctor --gc after older_than when nothing cites it Next: none

Source: ai-engineering (own), Apache-2.0.

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.