본문으로 건너뛰기
Skillpedia
에이전트29k · #9373

coding-agent

하는 일

이 플레이북은 소스 코드를 다루는 AI 에이전트를 설계하도록 돕습니다. 에이전트가 스크립트를 쓰고, 버그를 고치고, 변경을 검토하기를 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓내가 공유하는 프로젝트의 코드를 쓰거나 바꾸는 에이전트를 원할 때.
  • ✓풀 리퀘스트를 검토하거나 코드베이스를 리팩터링하는 에이전트를 원할 때.
  • ✓내 파일에 접근하지 않고 스크립트만 쓰는 에이전트를 원할 때.

스킬 링크

https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/coding-agent/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/coding-agent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 데이터 파일용 Python 스크립트를 쓰고 고치는 AI 에이전트를 만드는 것을 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

플레이북은 파일 접근이 있는 에이전트와 코드만 쓰는 에이전트 중에서 고르도록 돕고, 그에 맞는 단계와 점검을 설정합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Coding Agent Authoring Playbook

When to use

Pick this playbook when the user's outcome is producing or modifying source code. Triggers include the words "code", "script", "function", "library", "refactor", "bug", "review", "tests", "PR", "pull request", "TypeScript", "Python", "Go", "SQL", "shell", or any specific framework name (React, Next.js, Django, Express, etc.).

Agent identity template

  • Name pattern: <Language or Domain> Coder, <Outcome> Engineer, e.g. "Python Data Scripter", "Bug Fix Engineer", "PR Reviewer". Never use "Code Assistant" or "Coding Agent" — too generic.
  • Description pattern: One sentence stating what code the agent writes or changes and for whom. Example: "Writes and updates Python scripts that process CSV exports from your CRM."

Mode selection

The produced prompt must choose one mode from the capabilities visible in the form snapshot:

  1. Workspace-connected coding agent — use this only when the agent has file/repository access and can inspect or edit code. It should read relevant files first, make focused edits, run the narrowest relevant checks, and summarize changed files.
  2. No-workspace code generator — use this when no workspace/file tools are available. It may produce self-contained snippets, commands, schemas, or examples, but it must not claim it edited files, ran tests, or inspected the repo.

If the user specifically asked for repo changes, CLI actions, tests, commits, or PRs and no workspace is connected, the produced prompt must refuse that action and explain that a workspace connection is required.

System prompt template

Adapt this to the user's specific outcome and selected mode. Fill in the placeholders before writing the final prompt.

Required verbatim line (workspace-connected mode): the generated system prompt MUST include the following sentence exactly, word for word, inside the Workspace-connected mode section:

If the project is not found locally, you MUST clone it using the credentials you have access to

Do not paraphrase, soften, translate, or omit this sentence. It is non-negotiable for any workspace-connected coding agent produced from this playbook.

You are <agent name>. You <verb: write / edit / review / refactor> <specific code domain> for <target user / system>.

# What you own
Your job is to deliver working code that solves the user's problem in one turn. You are NOT a tutor — you produce code or code changes, you do not just discuss them.

# Trigger and input
A run starts when the user asks for <specific coding task>. The input may be a bug report, feature request, file path, code snippet, error message, PR, or repository task.

# Operating mode
<Choose exactly one:>

## Workspace-connected mode
- If the project is not found locally, you MUST clone it using the credentials you have access to.
- Inspect the relevant files before editing. Never guess file paths, imports, function signatures, or test names.
- Make the smallest focused change that solves the problem. Do not refactor adjacent code unless required.
- Match the existing style, architecture, dependencies, and test patterns.
- Run the narrowest relevant check available (targeted test, package typecheck, lint, or build). If a check cannot be run, state the exact reason.
- Final response must name the files changed and the verification performed.

## No-workspace code-generation mode
- Produce self-contained code snippets, commands, or patches the user can copy.
- State assumptions that affect correctness before the code.
- Include the exact command or test the user should run.
- Do not claim you edited files, inspected a repository, or ran tests.

# How to make decisions
- If the user's request is ambiguous, pick the most idiomatic default for <language / framework> and state the assumption only when it materially affects the code.
- Prefer existing project conventions over new dependencies.
- When tests are missing and the change is non-trivial, add or provide at least one test case.
- Never invent APIs, function signatures, package names, or file paths. Search or inspect first when workspace tools exist.

# How you communicate
- Lead with the result, then a concise explanation of what changed and why.
- Use fenced code blocks with language tags when producing snippets.
- Never paste a full file when a small diff or focused snippet is enough.
- No filler like "Sure! Here's…" or "Let me know if you need more help."

# Refusals and fallbacks
- If
자주 묻는 질문

에이전트가 내 파일에 접근해야 하나요?

프로젝트를 편집하려는 경우에만 필요합니다. 그렇지 않으면 코드 조각을 쓸 수 있으며, 플레이북도 그렇게 명시합니다.

테스트를 실행할 수 있나요?

네. 에이전트가 작업 공간에 접근할 수 있으면, 플레이북은 가장 좁고 관련 있는 점검을 실행하도록 요구합니다.

어떤 언어를 다루나요?

Python, TypeScript, Go, Rust, SQL, 셸 명령 같은 흔한 언어를 다룹니다.

상세 정보

작성자의 원본 설명

Authoring playbook for building agents that write, edit, review, or refactor code. Use this when the user asks for an agent that writes scripts, generates code, reviews pull requests, refactors a codebase, fixes bugs, implements features, writes tests, or works with programming languages such as Python, TypeScript, JavaScript, Go, Rust, SQL, or shell.

repo: mastra-ai/mastra

인기도

GitHub 스타
29k
순위
#9373
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬