agentleFS
martin-francoismartin-francois/symphony-trello/.agents/skills/publish-bugbash-issues/SKILL.md

publish-bugbash-issues

Skill5 starsChanged 16 days agoApache-2.0View on GitHub

Explicit-only publisher for reviewed live-bugbash issue drafts. Creates new GitHub issues for unique confirmed findings and comments on duplicate issues with sanitized reproduction details. Never runs the bug bash.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 16 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill only after a person has reviewed local issue drafts created by $live-bugbash and explicitly asks to post them to GitHub.

    line 8
  2. Distinctive:

    Do not use this skill for bug discovery.

    line 12
  3. Very specific:

    Before reading drafts or writing publication metadata, validate RUN_ID as one safe path segment: ASCII letters, digits, ., _, and - only.

    line 37
  4. Distinctive:

    Before posting anything, read:

    line 58
  5. Very specific:

    all selected drafts under the resolved $DRAFT_DIR

    line 64
  6. Distinctive:

    Read the current bug report issue template and record its current SHA or hash.

    line 70
  7. Very specific:

    Search existing open and closed issues in TARGET_REPO for duplicates using read-only GitHub CLI commands.

    line 74
  8. Distinctive:

    If the best match is closed, do not suppress the current finding.

    line 80
  9. Very specific:

    Write publication-report.md and published-issues.json.

    line 86
  10. Distinctive:

    Add created issue URLs, numbers, or duplicate-comment URLs to local publication metadata.

    line 87
  11. Distinctive:

    When a reviewed confirmed draft appears to duplicate an open existing issue:

    line 91
  12. Distinctive:

    Do not create a second issue.

    line 93
  13. Distinctive:

    Add one comment to the best matching existing issue.

    line 94
  14. Distinctive:

    Keep the comment concise and sanitized.

    line 99
  15. Very specific:

    Avoid duplicate comments from the same RUN_ID.

    line 102
  16. Distinctive:

    Do not relabel, close, reopen, assign, edit, or otherwise modify the existing issue.

    line 104
  17. Distinctive:

    When the best match is closed, follow the new-issue path and reference the closed issue in sanitized prose unless the operator explicitly …

    line 106
  18. Very specific:

    Never modify repository files in TARGET_REPO.

    line 111
  19. Distinctive:

    Never push branches, create pull requests, edit settings, create labels, modify milestones, modify projects, edit workflows, change …

    line 112
  20. Distinctive:

    Never edit, relabel, close, reopen, delete, or assign existing issues.

    line 114
  21. Very specific:

    Never post speculative findings, unsanitized findings, private data, secrets, account names, private Trello links, private host paths, raw …

    line 118
  22. Distinctive:

    Never create a public issue or public duplicate comment for a draft that may describe a vulnerability, leaked credential, …

    line 122
  23. Distinctive:

    If a command would exceed these permissions, stop that draft and record a scoped blocker.

    line 127
  24. Distinctive:

    run ID and draft directory

    line 133

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

Publish bug-bash issues

Use this skill only after a person has reviewed local issue drafts created by $live-bugbash and explicitly asks to post them to GitHub. The reviewer must also complete each selected draft's AI Assistance (if used) human-review confirmation field before publication.

Do not use this skill for bug discovery. Do not run Symphony. Do not create Trello boards. Do not run Codex app-server. Do not create GitHub sandbox repositories. This skill only reads local issue drafts and posts reviewed results to the target GitHub repository.

Implicit invocation is disabled in agents/openai.yaml; do not select this skill accidentally.

Normal command

/goal Use $publish-bugbash-issues for RUN_ID=live-bugbash-20260629T103000Z. I reviewed the drafts and approve posting them to martin-francois/symphony-trello.

Defaults

Unless explicitly overridden:

TARGET_REPO=martin-francois/symphony-trello
RUN_ROOT=target/live-bugbash/<RUN_ID>
DRAFT_DIR=target/live-bugbash/<RUN_ID>/issues
DUPLICATE_ACTION=comment-with-reproduction-details
LABEL_POLICY=use-existing-labels-only
PUBLISH_SELECTION=confirmed-only

Before reading drafts or writing publication metadata, validate RUN_ID as one safe path segment: ASCII letters, digits, ., _, and - only; not empty; not . or ..; no slash, backslash, control character, shell metacharacter, or percent-encoded separator. Resolve and normalize RUN_ROOT and DRAFT_DIR; DRAFT_DIR must stay under RUN_ROOT, and default run roots must stay under target/live-bugbash/. Stop if an override points outside the reviewed run-owned location.

Publication guard

Posting to TARGET_REPO is forbidden unless the goal affirmatively contains both:

  1. A clear posting instruction, such as post these drafts, publish these reviewed drafts, or create GitHub issues from these drafts.
  2. A human-review approval phrase, such as I reviewed the drafts or I have reviewed the drafts.

The skill name, default prompt text, or a denied phrase such as do not publish, do not comment, preview only, or dry run does not count as posting approval. If either signal is missing or negated, do not publish, do not comment, and explain the exact command the operator can use after reviewing the drafts. Never infer approval from the existence of issue drafts.

Required references

Before posting anything, read:

  1. references/publication-runbook.md
  2. ../../../.github/ISSUE_TEMPLATE/bug_report.yml
  3. ../../../SECURITY.md
  4. $RUN_ROOT/final-report.md, if present
  5. all selected drafts under the resolved $DRAFT_DIR

Workflow

  1. Resolve RUN_ID, TARGET_REPO, RUN_ROOT, and DRAFT_DIR.
  2. Confirm the publication guard is satisfied.
  3. Read the current bug report issue template and record its current SHA or hash.
  4. Parse all selected local issue drafts.
  5. Validate draft eligibility, confidence, security classification, sanitation, template coverage, labels, and duplicate status.
  6. Search existing open and closed issues in TARGET_REPO for duplicates using read-only GitHub CLI commands.
  7. For each unique eligible draft, create a new issue.
  8. For each likely duplicate eligible draft matching an open issue, prepare one concise sanitized comment for the best matching issue. Post it only when the exact body was already reviewed or the operator explicitly approves that exact body before gh issue comment.
  9. If the best match is closed, do not suppress the current finding. Create a new issue unless the operator explicitly decides to comment on the closed issue instead.
  10. Apply only labels that already exist in the target repository. Do not create labels. Choose them by the Triage labels policy in ../../../docs/agents/github-issue-triage.md, then run node scripts/audit-issue-labels.ts "$TARGET_REPO" from the repository root and record any failure or judgment item it lists for a created issue in publication-report.md.
  11. Write publication-report.md and published-issues.json.
  12. Add created issue URLs, numbers, or duplicate-comment URLs to local publication metadata.

Duplicate comment policy

When a reviewed confirmed draft appears to duplicate an open existing issue:

  • Do not create a second issue.
  • Add one comment to the best matching existing issue.
  • The comment must say that the bug bash also reproduced the issue.
  • Include the target commit, sanitized environment, reproduction summary, expected and actual behavior, and any additional logs or suspected code path that are not already obvious from the issue.
  • Keep the comment concise and sanitized. Do not paste secrets, account names, private Trello board links, private host paths, raw tokens, Codex auth files, or screenshots/logs containing private values.
  • Avoid duplicate comments from the same RUN_ID. If this run already commented on the issue, record that and skip the second comment.
  • Do not relabel, close, reopen, assign, edit, or otherwise modify the existing issue.

When the best match is closed, follow the new-issue path and reference the closed issue in sanitized prose unless the operator explicitly instructs the publisher to comment on the closed issue instead.

Safety rules

  • Never modify repository files in TARGET_REPO.
  • Never push branches, create pull requests, edit settings, create labels, modify milestones, modify projects, edit workflows, change secrets, or change collaborators.
  • Never edit, relabel, close, reopen, delete, or assign existing issues.
  • Commenting on an existing issue is allowed only for likely duplicates of reviewed confirmed drafts and only with a sanitized duplicate-comment body the operator already reviewed or explicitly approved.
  • Never post speculative findings, unsanitized findings, private data, secrets, account names, private Trello links, private host paths, raw logs containing secrets, or drafts marked needs_real_confirmation or needs_hardened_host_confirmation. Confirm and review those drafts first.
  • Never create a public issue or public duplicate comment for a draft that may describe a vulnerability, leaked credential, credential-handling weakness, token exposure, authentication bypass, authorization bypass, or other SECURITY.md report. Skip public publication for that draft, record the private reporting route in publication-report.md, and tell the operator to follow SECURITY.md.
  • If a command would exceed these permissions, stop that draft and record a scoped blocker.

Output standard

The final response must include:

  • run ID and draft directory
  • number of drafts scanned
  • number eligible
  • number skipped and why
  • number of new issues created
  • number of duplicate issues commented on
  • created issue URLs
  • duplicate issue URLs and comment URLs
  • labels applied and labels skipped
  • path to publication-report.md

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.