본문으로 건너뛰기
cccskills
무료GitHub에 공개

mcp-integration-reference

Build an MCP integration skill using a template that reads server-specific reference notes before calling tools. The Sentry example gathers unresolved errors, groups them by likely root cause, and produces a report with investigation suggestions.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Template for skills that integrate with an MCP server. Demonstrates the reference file pattern: Claude reads a domain-specific MCP cheatsheet before making any tool calls, reducing query failures caused by server-specific gotchas. Fork this skill and replace the Sentry example with your target MCP.

연동 도구Sentry
설치 방법 보기

이럴 때 유용합니다

  • Design a skill that integrates with an MCP server
  • Document server-specific query pitfalls
  • Group Sentry errors by likely root cause
  • Report frequent errors and investigation steps

포함된 파일(2)

  • SKILL.md4.4 KB
  • references/sentry-mcp.md5.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MCP integration reference pattern

This is a template skill. It shows how to structure a skill that wraps an MCP server. Replace sentry with your MCP server name and adapt the reference file at references/sentry-mcp.md.

What this pattern solves

When a skill calls an MCP server without prior context, Claude guesses at the query syntax. This works for simple calls but breaks on anything with non-obvious behavior: pagination quirks, required parameter combinations, rate limits, or subtle format restrictions.

The fix: a references/<mcp-name>.md file that captures all the gotchas. The skill reads this file before making any MCP call. Zero guessing.

Three types of content go in the reference file:

  1. Parameter semantics that differ from what the tool name implies
  2. Known error patterns and their root causes
  3. Working query examples (copy-paste, no thinking required)

Step 1: Read the MCP reference file

Before doing anything else, read the full MCP reference:

Read: references/sentry-mcp.md

This file contains query syntax, known gotchas, and working examples for the Sentry MCP. Do not skip this step.


Step 2: Gather scope from user

Ask the user:

  • Time range: Last 24h? 7 days? Custom range?
  • Environments: production, staging, or both?
  • Projects: All projects or specific ones? (Default: all)

If the user says "just run it with defaults", use:

  • Time range: last 72 hours
  • Environment: production only
  • Projects: all

Step 3: Fetch error data

Using the tool knowledge from Step 1, fetch:

  1. Issue list: Active unresolved issues, ordered by frequency
  2. Event details: Full stack traces for the top 5 issues by event count

Cap results at 50 issues. If more exist, note the count and focus on the highest-frequency items.


Step 4: Group and analyze

Group issues by root cause, not by error message. Two issues with different messages can share the same underlying cause (shared code path, same external dependency, same config).

For each group:

  • Count of issues in the group
  • Earliest first-seen date
  • Affected users count (if available)
  • Most likely root cause (one sentence, evidence-based)
  • Relevant file paths from the stack trace

Step 5: Generate report

Output a markdown report with this structure:

# Error Report: [Project or Scope]

**Period**: [start] to [end]
**Environment**: [env]
**Total active issues**: [N]

## Summary

[2-3 sentences: what is the overall health picture?]

## Issue Groups

### Group 1: [Root Cause Label]

| Attribute      | Value                    |
|----------------|--------------------------|
| Issues         | N                        |
| Total events   | N                        |
| Affected users | N                        |
| First seen     | YYYY-MM-DD               |
| Key file       | path/to/file.py:line     |

**Root cause**: [One paragraph. Specific, evidence-based. Point to file and line.]

**Suggested investigation**: [One or two concrete next steps.]

---

[Repeat for each group]

## Out of Scope

[List issues explicitly excluded and why. Example: "404s on /static/ excluded - expected behavior for SPA asset versioning."]

Scope rules

  • This skill detects and describes issues. It does not modify code or create tickets.
  • If an issue is ambiguous, flag it as "needs investigation" rather than guessing.
  • Do not include informational logs or warnings unless they correlate directly with errors.

Adapting this template

To fork this skill for a different MCP:

  1. Copy this directory: cp -r examples/skills/mcp-integration-reference examples/skills/<your-skill>/
  2. Rename references/sentry-mcp.md to references/<your-mcp>.md
  3. Replace the reference file content with your MCP's gotchas
  4. Update allowed-tools in the frontmatter to match your MCP tool names
  5. Adjust the analysis steps to match your data domain

The pattern works for any MCP that has non-obvious query behavior: Datadog, PagerDuty, Linear, Jira, Posthog, Mixpanel, etc.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Evaluate Claude Code agents, skills, and commands with weighted quality criteria. Get scores, readiness grades, template comparisons, and practical improvement suggestions in Markdown or JSON reports to guide reviews before release.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Review skills before release
  • Compare agent definitions with reference templates
  • Quickly check critical quality criteria
FlorianBruniaux/claude-code-ultimate-guide6.2천2026년 10월 18일 업데이트

Assess a codebase across seven areas, including exposed credentials, security, dependencies, structure, and tests. Receive category scores, findings tied to file locations, and a prioritized improvement plan with smaller tasks that can be completed quickly.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Assessing the overall health of an inherited project
  • Reviewing exposed credentials and security risks
  • Identifying dependency and test coverage gaps
FlorianBruniaux/claude-code-ultimate-guide6.2천2026년 10월 18일 업데이트

Measure code patterns such as casts to any or disabled lint rules, then run repeated, targeted edits. Keep changes that improve the chosen metric, revert unsuccessful changes, and track results for each improvement loop.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Finding code patterns to prioritize for cleanup
  • Preparing measurement files for an improvement loop
  • Repeating targeted edits to reduce casts to any
FlorianBruniaux/claude-code-ultimate-guide6.2천2026년 10월 18일 업데이트

best-of-n

무료

Generate several separate solutions, compare them against criteria fixed in advance, and verify the selected result through executable checks or an independent reviewer. Keep a proof log documenting candidates, evidence, failures, and remaining limits.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Comparing implementation options before choosing one
  • Verifying a solution when a wrong choice would be costly
  • Keeping evaluation evidence for delivery or audit
FlorianBruniaux/claude-code-ultimate-guide6.2천2026년 10월 18일 업데이트

canary

무료

Monitor a live application after deployment and compare it with a saved baseline, a record of its earlier state. Check page responses, loading times, and new errors, flag persistent changes, and produce a per-page health report.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Recording a healthy baseline before deployment
  • Monitoring production immediately after deployment
  • Checking key pages for slower responses or failures
FlorianBruniaux/claude-code-ultimate-guide6.2천2026년 10월 18일 업데이트

catchup

무료

Rebuild project context after clearing a conversation or returning to work. Review recent Git history, uncommitted changes, and TODO markers to get a structured summary of project status and suggested next steps.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Restoring project context after /clear
  • Reviewing recent changes after a long break
  • Checking unfinished work before choosing the next task
FlorianBruniaux/claude-code-ultimate-guide6.2천2026년 10월 18일 업데이트

FlorianBruniaux의 스킬 모두 보기

이 스킬의 문제 신고