AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Quick Fix Suggestion

skill-oschina-gitee-agent-skills-quick-fix-suggestion · by oschina

|

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add skill-oschina-gitee-agent-skills-quick-fix-suggestion

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-oschina-gitee-agent-skills-quick-fix-suggestion)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Quick Fix Suggestion? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

> 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.

Quick Fix Suggestion via Gitee MCP

Analyze a Gitee Issue and generate intelligent fix suggestions including:

  • Identification of files that need to be modified
  • Code location hints (line numbers, function names)
  • Draft implementation code snippets
  • Step-by-step implementation plan

Prerequisites

  • Gitee MCP Server configured (tools: get_repo_issue_detail, list_comments (resource_type: issue), search_files_by_content, get_file_content)
  • Must be executed in a local clone of the repository
  • User must provide: repository owner, repository name, Issue number

Local-First Search Strategy

> Why Local-First? > > This skill prioritizes local file operations over Gitee API for code search: > - Speed: Local searches complete in milliseconds vs. seconds for API calls > - No Rate Limits: No 100 requests/minute restriction > - Real-time: Searches include uncommitted local changes > - Cost: Zero API usage costs

Tool Selection Priority

| Priority | Tool | Availability | |----------|------|--------------| | 1st | glob, grep (built-in) | 100% | | 2nd | ast_grep_search, lsp_find_references | 100% | | 3rd | Git commands (via bash) | ~90% | | Last | Gitee API (search_files_by_content) | Fallback only |

Steps

Step 1: Fetch Issue Details

Use get_repo_issue_detail to retrieve full Issue information:

  • Title and description
  • Labels (bug/feature/enhancement)
  • Existing comments

Step 2: Analyze Issue Content

Identify Issue Type:

  • bug: error, crash, broken, not working, 错误, 失败
  • feature: add, support, implement, new, 新增, 添加
  • enhancement: improve, optimize, 改进, 优化

Extract Code Entities:

  • Function names (in backticks or patterns)
  • Class names
  • File names
  • Error messages / stack traces

Step 3: Search Code (Local-First)

Use built-in tools in priority order:

// 1. File name search (fastest)
glob(`**/*${keyword}*.{js,ts,py,go}`, { cwd: localRepoPath })

// 2. Content search
grep({
  pattern: `function\\s+${funcName}`,
  path: localRepoPath,
  output_mode: "content"
})

// 3. AST search (semantic)
ast_grep_search({
  pattern: "function $NAME($$$) { $$$ }",
  lang: "javascript",
  paths: [localRepoPath]
})

// 4. Fallback: Remote search (max 3 calls)
if (localResults.length 
Code Draft

```{language}
// Current:
{existing_code}

// Suggested:
{suggested_code}

Secondary Files (May Need Changes)

  • {file_path}: {reason}

Implementation Plan

  1. {step 1} - File: {file}, ~{time}
  2. {step 2} - File: {file}, ~{time}

Testing Suggestions

  • {test suggestion}

Questions for You

  1. {uncertainty_question}

### Step 6: Handle User Response

- **Approve**: Summarize and transition to `implement-issue` skill
- **Adjust**: Re-analyze with new information
- **Search More**: Expand search scope
- **Cancel**: Offer other help

## Notes

- Always indicate confidence level - ask for clarification when uncertain
- Follow existing code patterns when suggesting changes
- Warn immediately if Issue mentions credentials/secrets
- If unable to locate relevant code, ask for more context rather than guessing

## References

- [Tool Reference Guide](references/TOOL_REFERENCE.md) - Detailed search patterns and tool usage

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [oschina](https://github.com/oschina)
- **Source:** [oschina/gitee-agent-skills](https://github.com/oschina/gitee-agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.