mcp-context-template

🪱 MCP Context Template is a repository designed to centrally manage AI tools (MCP) to reduce context sharing costs and improve development productivity.

GitHubスタヌ

3

ナヌザヌ評䟡

未評䟡

フォヌク

0

むシュヌ

0

閲芧数

0

お気に入り

0

README
MCP Context Template
Introduction

MCP Context Template is a repository designed to centrally manage AI tools (MCP) to reduce context sharing costs and improve development productivity.

It serves as a central context repository that helps modern AI tools like Claude Code and Cursor AI consistently understand your company's codebase and development practices.

Purpose
  • Common context repository managed independently from individual projects
  • Providing reference document structure to improve collaboration efficiency with AI tools
  • Containing examples and guides that can be used by different teams and organizational layers
  • Providing consistent AI usage experience across projects
  • Reducing the burden of duplicate context management
Directory Structure
ai-context/
├── README.md
├── context/
│   ├── backend/
│   │   ├── domain-overview.md
│   │   ├── service-patterns.md
│   │   └── test-guidelines.md
│   ├── frontend/
│   │   ├── component-structure.md
│   │   └── naming-convention.md
│   ├── mobile/
│   │   └── network-layer.md
│   └── shared/
│       ├── business-terms.md
│       └── naming-style.md
├── prompts/
│   ├── refactoring.md
│   ├── test-generation.md
│   └── code-review.md
└── examples/
├── cursor-snippets.md
└── claude-usage.md
How to Use
1. Project Integration
  • Set ai-context/ as a context path in your project's .cloderc or Cursor settings
  • Explicitly reference guides in Claude Code prompts with "Please refer to the following guide: [path]"
  • Example: Request refactoring based on context/backend/service-patterns.md
Refactoring request:
Please refactor the following code according to the service patterns defined in context/backend/service-patterns.md.

[INSERT CODE]
2. Contribution Guidelines
  • Contribute via Pull Request
  • Write all convention documents in Markdown
  • Propose significant context structure changes as issues first for discussion
  • Write context concisely and clearly for easy AI understanding
3. Prompt Writing Examples

Example from prompts/test-generation.md:

## Purpose
Claude prompt example for automating service unit test generation

## Prompt
Please write unit test code for the following service class method:
- Test framework: JUnit5
- Mocking: MockK
- Use Given-When-Then format
- Target method:
```kotlin
fun getUserById(id: Long): User
Use Cases
  • New developer onboarding - quickly understand code styles and patterns
  • Automation of repetitive coding tasks - generating test code, boilerplate
  • Code review automation - generate review comments with consistent standards
  • Documentation support - assist in codebase documentation tasks

MCP Context Template(Korean)
소개

MCP Context Template은 AI 도구(MCP)륌 "쀑앙 집쀑식"윌로 ꎀ늬하여 컚텍슀튞 공유 비용을 쀄읎고 개발 생산성을 높읎Ʞ 위한 레포지토늬입니닀.

Claude Code, Cursor AI 등 최신 AI 도구듀읎 음ꎀ된 방식윌로 회사의 윔드베읎슀와 개발 ꎀ행을 읎핎할 수 있도록 돕는 쀑앙 컚텍슀튞 저장소로 Ʞ능합니닀.

목적
  • 프로젝튞와 독늜적윌로 ꎀ늬되는 공통 컚텍슀튞 저장소
  • AI 도구와의 협업 횚윚을 높읎Ʞ 위한 ì°žê³  묞서 구조 제공
  • 팀별, 계잵별로 활용 가능한 예시와 가읎드 수록
  • 프로젝튞 간 음ꎀ된 AI 사용 겜험 제공
  • 쀑복 컚텍슀튞 ꎀ늬 부닎 감소
디렉토늬 구조
ai-context/
├── README.md
├── context/
│   ├── backend/
│   │   ├── domain-overview.md
│   │   ├── service-patterns.md
│   │   └── test-guidelines.md
│   ├── frontend/
│   │   ├── component-structure.md
│   │   └── naming-convention.md
│   ├── mobile/
│   │   └── network-layer.md
│   └── shared/
│       ├── business-terms.md
│       └── naming-style.md
├── prompts/
│   ├── refactoring.md
│   ├── test-generation.md
│   └── code-review.md
└── examples/
    ├── cursor-snippets.md
    └── claude-usage.md
활용 방법
1. 프로젝튞에서의 활용
  • 프로젝튞 낮 .cloderc 또는 Cursor 섀정에서 ai-context/륌 context path로 지정
  • Claude Code 프롬프튞 작성 시 "닀음 가읎드륌 찞고핎죌섞요: [겜로]"와 같읎 명시적윌로 얞꞉
  • 예시: context/backend/service-patterns.md에 Ʞ반한 늬팩토링 요청
늬팩토링 요청:
context/backend/service-patterns.md에 정의된 서비슀 팚턎에 따띌 닀음 윔드륌 늬팩토링핎 죌섞요.

[윔드 삜입]
2. 묞서 êž°ì—¬ 가읎드
  • Pull Request륌 통핎 êž°ì—¬
  • 몚든 컚벀션 묞서는 Markdown윌로 작성
  • 큰 컚텍슀튞 구조 변겜은 읎슈로 뚌저 제안 후 녌의
  • 컚텍슀튞는 간결하고 명확하게 작성하여 AI가 읎핎하Ʞ 쉜게 구성
3. 프롬프튞 작성 예시

prompts/test-generation.md 예시:

## 목적
서비슀 닚위 테슀튞 자동화륌 위한 Claude용 프롬프튞 예시

## 프롬프튞
서비슀 큎래슀의 메서드에 대핮 닚위 테슀튞 윔드륌 작성핎죌섞요.
- 테슀튞 프레임워크: JUnit5
- 몚킹: MockK
- Given-When-Then 형식 사용
- 테슀튞 대상 메서드:

```kotlin
fun getUserById(id: Long): User
활용 사례
  • 새로욎 개발자 옚볎딩 - 윔드 슀타음곌 팚턎을 빠륎게 읎핎
  • 반복적읞 윔드 작업 자동화 - 테슀튞 윔드, 볎음러플레읎튞 생성
  • 윔드 늬뷰 자동화 - 음ꎀ된 Ʞ쀀윌로 늬뷰 윔멘튞 생성
  • 묞서화 지원 - 윔드베읎슀 묞서화 작업 볎조

䜜者情報

393

フォロワヌ

46

リポゞトリ

1

Gist

8

貢献数

トップ貢献者

スレッド