본문으로 건너뛰기
Skillpedia
일반 코딩18k · #10740

coding

하는 일

이 스킬은 AI 에이전트가 저장소의 코드를 살펴보고 바꾼 뒤 결과를 확인하도록 돕습니다. 신중하게 실제 코드 변경을 맡기고 싶은 분들을 위한 스킬입니다.

사용하는 경우

  • ✓프로젝트 폴더에서 버그를 고치거나 기능을 추가하고 싶을 때.
  • ✓에이전트가 프로젝트 고유의 규칙과 테스트 명령을 따르게 하고 싶은 경우.
  • ✓사용하기 전에 프로젝트의 테스트를 실행해 코드 변경을 확인하고 싶을 때.

스킬 링크

https://github.com/leon-ai/leon/blob/develop/skills/agent/coding/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“이 프로젝트의 깨진 날짜 형식을 고치고, 테스트를 실행해서 제대로 동작하는지 확인해 주실 수 있나요?”

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

작동 방식

에이전트는 관련 파일을 찾고, 프로젝트의 지침 파일을 읽은 다음 변경을 합니다. 그 뒤 프로젝트의 테스트를 실행하고, 무엇을 바꾸었고 무엇을 확인했는지 보고합니다.

기술 내용 (원본 SKILL.md)

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

Coding

Code directly with Leon's existing loop and tools. Respect scope: analysis does not authorize edits, commits, pushes or publication. Delegate only on owner request or applicable preference.

For delegation, use the owner's preferred available agent/interface. Pass the repository, task, instructions and authorized scope; inspect and verify results, not just prompt submission. If unavailable, explain briefly and continue directly within scope.

Repository and instructions

  1. Establish the exact workspace/cwd from the request and live observations. Read relevant manifests and nearby code; reuse helpers before adding abstractions.
  2. Before project commands or edits, inspect applicable AGENTS.md files from repository root through each target directory. file.read includes them in repositoryInstructions with source reads; read missing instructions explicitly. Confirm full returned text, since shell success alone does not prove a file was read. Reuse complete returned instructions, including unchanged content referenced in earlier visible tool results, instead of rediscovering the same files. Apply their package manager and test commands to the baseline as well as final checks. Deeper rules override broader ones only in their subtree. For non-Git work, use the owner-selected boundary, excluding unrelated parent instructions.
  3. In plan details, record workspace, instruction paths, constraints, and acceptance criteria with required checks from the request/references. Discover nested instructions before editing new directories. After compaction/continuation, reread applicable files in full before editing; summaries cannot replace current instructions.
  4. Inspect Git status and staged/unstaged diffs; record and preserve unrelated changed/untracked content. Never reset, clean, stage or commit owner work without authorization. Use an isolated worktree when concurrency or the requested workflow warrants it.

Investigate and change

  • Select the functions needed for inspection, authorized edits and verification together from the tool index; reuse their schemas throughout the task. Expand discovery only when evidence requires another capability. Use bounded reads, ripgrep and available structural search. Trace definitions/callers and check installed dependencies; never invent symbols/APIs. Read package metadata from its manifest; respect package exports and resolve dependencies from their owning source rather than assuming a flat install layout.
  • Batch independent reads of known files, searches and edits to different files in one response. Combine independent commands/checks when each result and exit status remains visible; keep dependent checks after their inputs exist. Include plan updates supported by prior evidence alongside the next independent action. Do not weaken verification or bypass dedicated tool safeguards to reduce call counts.
  • Reproduce bugs before editing; use affected existing tests when baseline evidence is needed to distinguish existing failures from regressions. Run repository-required baseline checks even when an interactive reproduction already shows the bug; do not infer a full baseline suite requirement from a rule to run lint or relevant tests. Extend only meaningful coverage when authorized, and never weaken tests for a pass.
  • Prefer file.patch with the current read's hash when available, unique exact context and unrelated changes preserved. For stale/ambiguous matches, reread and revise; never repeat unchanged patches or overwrite from partial views.
  • Use file.write for new files; overwriting requires complete current content. Follow project formatting and dependency rules.
  • Prefer shell.executeCommand for short finite commands/checks. Use shell.startSession for long checks, installs, servers, watchers and interactive programs so owner follow-ups can be handled without discarding running work. Supply the observed workspace cwd and use the project's commands and package manager.
  • Record session IDs and commands in the plan, follow output cursors and verify process status; starting is not completion/success. After follow-ups or interruptions, inspect retained work before restarting anything. Informational questions preserve the task and its sessions; stop affected sessions when the owner cancels or redirects work that is no longer applicable. Never invent handles, replay commands for output or send secrets through stdin.

Verify and finish

  1. Inspect test scripts be
자주 묻는 질문

에이전트가 제 코드를 커밋하거나 공개하나요?

스스로는 하지 않습니다. 스킬에 따르면 요청하지 않는 한 분석 중에는 커밋, 푸시, 공개를 하지 않습니다.

에이전트가 프로젝트 규칙을 따르나요?

네. 프로젝트 지침 파일을 읽고, 거기 적힌 패키지 관리자와 테스트 명령을 적용합니다.

작업 일부를 다른 에이전트에게 맡길 수 있나요?

요청했거나 설정이 그것을 선호하는 경우에만 가능합니다. 그렇지 않으면 직접 작업합니다.

상세 정보

작성자의 원본 설명

Investigate, implement and verify code changes directly in a repository using Leon's file, search and shell tools.

repo: leon-ai/leon

인기도

GitHub 스타
18k
순위
#10740
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬