agentleFS
oschinaoschina/gitee-agent-skills/skills/implement-issue/SKILL.md

implement-issue

Skill4 starsChanged 7 months agoMITView on GitHub

Use this skill when the user asks to implement an issue, "work on this issue", "implement issue", "develop based on an issue", "implement-issue". Requires Gitee MCP Server to be configured.

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-issue, merge-pr and 3 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.
  • ravihammondSkill

    review-issue

    Review and repair one GitHub issue implementation in the current checkout.

    Also in 4 projects that use this

  • TermiX-officialSkill

    merge-pr

    Merge a GitHub PR via squash after /preparepr. Use when asked to merge a ready PR. Do not push to main or modify code. Ensure the PR ends in MERGED state and clean up worktrees after success.

    Also in 3 projects that use this

  • ShopifySkill

    triage-issue

    Triage a GitHub issue — classify priority (P0/P1/P2), search for duplicates, and apply labels.

    Also in 3 projects that use this

  • OpenAISkill

    writing-skills

    Use when creating new skills, editing existing skills, or verifying skills work before deployment

    Also in 3 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 29 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Use get_repo_issue_detail to retrieve full Issue information:

    line 26
  2. Distinctive:

    If the user has already finished coding, proceed to the next step.

    line 73
  3. Very specific:

    Use create_comment (resource_type: issue) to post a progress update on the Issue:

    line 77
  4. Very specific:

    Use create_pull to create a PR.

    line 91
  5. Distinctive:

    After the PR is created:

    line 99
  6. Very specific:

    Use create_comment (resource_type: issue) to post the PR link on the Issue

    line 100
  7. Very specific:

    If the Issue status needs updating, use update_issue to change it

    line 101
  8. Distinctive:

    Before starting, confirm the Issue has not been claimed by someone else (check assignees)

    line 111

“Common” is measured: kept by at least 6 in 10 of the 29 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

Note: If you have mcporter installed locally, you should use mcporter to invoke the MCP tool instead of directly calling the MCP tool. The mcporter CLI provides a more convenient interface and better error handling.

Implement Issue via Gitee MCP

Complete the full development loop starting from a Gitee Issue: requirements analysis → coding → creating a PR → linking back to the Issue.

Prerequisites

  • Gitee MCP Server configured (tools: get_repo_issue_detail, list_repo_issues, create_pull, create_comment (resource_type: issue), update_issue)
  • User must provide: repository owner, repository name, Issue number (or select from a list)
  • Local repository path: This skill must be executed in the local checkout of the issue's repository, OR the user must provide the local path to the repository clone. This is required for the Coding Agent to read and modify source files.

Steps

Step 1: Fetch Issue Details

Use get_repo_issue_detail to retrieve full Issue information:

  • Title and full description
  • Labels (feature / bug / enhancement, etc.)
  • Priority and milestone
  • Existing comments (to understand discussion context)

Also use list_comments (resource_type: issue) to review comments and check:

  • Existing technical design discussions
  • Relevant background context
  • Whether someone else is already working on it

Step 2: Requirements Analysis

Based on the Issue content, produce a requirements analysis:

## Requirements Analysis: [Issue title]

**Type**: [Feature / Bug Fix / Performance / Other]

**Goal**:
[One sentence describing what needs to be implemented]

**Scope** (estimated):
- [Modules / files likely involved]
- [APIs / database tables likely involved]

**Implementation Plan**:
1. [Step 1]
2. [Step 2]
3. [Step 3]

**Potential Risks**:
- [Things to watch out for]

**Acceptance Criteria**:
- [ ] [Criterion 1]
- [ ] [Criterion 2]

Step 3: Assist with Implementation

Based on the requirements analysis, help the user by:

  • Providing concrete code implementation approaches
  • Giving code examples for key logic
  • Pointing out which files need to be modified

If the user has already finished coding, proceed to the next step.

Step 4: Record Progress in the Issue

Use create_comment (resource_type: issue) to post a progress update on the Issue:

Starting work on this issue. Expected changes:
- [Main change 1]

Implementation approach:
[Brief summary]

This keeps other contributors informed and avoids duplicated effort.

Step 5: Create a Linked PR

Use create_pull to create a PR. The PR description should include:

  • Summary of changes
  • Implementation approach overview
  • Testing notes
  • closes #[issue number] (to auto-close the linked Issue on merge)

Step 6: Update the Issue

After the PR is created:

  1. Use create_comment (resource_type: issue) to post the PR link on the Issue
  2. If the Issue status needs updating, use update_issue to change it

Comment template:

PR #[PR number] has been created to address this issue.
Please review: [PR link]

Notes

  • Before starting, confirm the Issue has not been claimed by someone else (check assignees)
  • For significant design decisions, discuss and confirm in the Issue comments before coding
  • The closes #N syntax in the PR description will automatically close the Issue when the PR is merged

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.