agentleFS
hsionghsiong/project-skills/issue/SKILL.md

issue

Skill4 starsChanged 2 months agoApache-2.0View on GitHub

Handle GitHub issue and pull request workflows including drafting or submitting issues from Git changes, generating PR drafts from templates, and pushing commits directly to issue-linked remote branches. Trigger when users say '生成 issue', '根据这次改动提 issue', '按功能拆 issue', '先查重再写 GitHub issue', '提交这些 issue', 'issue commit', 'issue commit: #...', '生成 pr', '提 pr', '完成 pr', or 'draft pr'. Do not trigger for ordinary commits without issues, standalone code reviews, or untracked file handling.

  • Reads credentials

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use commit, test and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 9 projects that use this

  • Microsoft AzureSkill

    test

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read only the selected capability's instructions and supporting references needed for that task, then execute them.

    line 20
  2. Distinctive:

    If the request is ambiguous between drafting and committing, clarify before executing.

    line 22
  3. Very specific:

    Excluded Paths: Never read or commit files matching application*.yml, config/.env.* (except .env.example), .env, docs/.env, */.mvn/*, …

    line 27
  4. Very specific:

    TODO Gate: If candidate diffs contain TODO (case-insensitive), immediately halt execution and report the specific file and line number.

    line 28

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “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

Issue

Manage GitHub issue and pull request workflows: generating structured, deduplicated issue drafts, generating PR drafts from templates, or pushing code directly to issue-linked remote branches.

Route the request

Resolve the user's intent to one of the internal capabilities below:

CapabilityMatching words and phrasesInstructions
Issue Generator生成 issue, 提 issue, 根据这次改动提 issue, 按功能拆 issue, 先查重再写 GitHub issue, 提交这些 issue, draft issue, generate issuegenerator.md
Issue Commitissue commit, issue commit: #, 按 issue 提交, 推送 issue 分支, push issue branchcommit.md
PR Generator生成 pr, 提 pr, 完成 pr, 写 pr, 根据改动生成 pr, draft pr, create pr, pull requestpr.md

Read only the selected capability's instructions and supporting references needed for that task, then execute them. These are internal capabilities of this skill, not separately invoked skills.

If the request is ambiguous between drafting and committing, clarify before executing.

Shared execution rules & security gates

  • Git Scope: Inspect only Git-known changes (tracked modifications, staged additions, staged deletions). Completely ignore untracked files without reading or adding them.
  • Excluded Paths: Never read or commit files matching application*.yml, config/.env.* (except .env.example), .env, docs/.env, */.mvn/*, */.idea/*, */.fastRequest/*, docs/*, or patterns listed in .gitignore.
  • TODO Gate: If candidate diffs contain TODO (case-insensitive), immediately halt execution and report the specific file and line number.
  • Sensitive Data Gate: Prior to staging, committing, or drafting, scan the final content of all candidate files. If suspected secrets, tokens, private keys, credentials, private URLs, or internal endpoints are found, immediately halt and report only the masked location and data type.
  • Boundary: Perform only issue drafting and issue branch operations. Do not alter unrelated user code, fix unrequested bugs, or create ordinary local commits.
  • Scripts: Resolve bundled scripts relative to this issue/ directory (bash scripts/submit_issues.sh).

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.