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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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:
- 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.
- 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.
댓글
- …
이 저장소의 다른 스킬
debugging-difficult-bugs
29k에이전트가 추측이 아니라 실제 프로그램이 실행될 때의 로그를 남겨 어려운 버그를 디버그하도록 돕습니다.
mastra-frontend
29k에이전트가 처음부터 스타일을 만들지 않고, Mastra 플레이그라운드 디자인 시스템의 기성 컴포넌트로 앱 화면을 만들도록 돕습니다.
pr-explainer
29k에이전트가 풀 리퀘스트를 리뷰어가 이해할 수 있도록 독립적인 HTML 페이지로 설명해 줍니다.
pr-splitter
29k에이전트가 크고 복잡한 풀 리퀘스트를 원본 작업을 안전하게 지키면서 더 작고 리뷰하기 쉬운 풀 리퀘스트로 나누도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.