본문으로 건너뛰기
Skillpedia
테스트6.2k · #14389

verify-changes

하는 일

이 스킬은 코드를 바꾼 뒤 알맞은 점검을 실행하고, 통과할 때까지 계속 고칩니다. 보고하기 전에 에이전트의 편집이 실제로 작동하는지 확인받기를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓에이전트가 방금 소스 파일을 편집해서 작동하는지 확인해야 할 때.
  • ✓풀 리퀘스트를 열기 전에 빌드, lint, 테스트를 실행하고 싶을 때.
  • ✓점검이 실패했을 때 에이전트가 원인을 고치고 다시 실행하기를 원할 때.

스킬 링크

https://github.com/agentscope-ai/agentscope-java/blob/main/agentscope-examples/agents/agentscope-codingagent/src/main/resources/workspace-templates/skills/verify-changes/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“로그인 핸들러를 편집한 뒤, 완료라고 알려 주기 전에 빌드, lint, 로그인 테스트를 실행해서 모두 통과하는지 확인해 주세요.”

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

작동 방식

스킬은 빌드, lint, 단일 테스트 파일처럼 프로젝트에 맞는 점검 명령을 찾아 변경된 파일에 대해 실행합니다. 출력을 사실로 취급하고, 오류의 원인을 고친 뒤 같은 명령을 다시 실행합니다.

기술 내용 (원본 SKILL.md)

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

Verify Changes

Editing a file is only half a step. Always close the loop by verifying before you mark work done or open a PR. This is the manual equivalent of an IDE/LSP diagnostics loop.

Procedure

  1. Detect the project's check commands from its config files:
    • Node/TS: package.json scripts (build, lint, typecheck), tsconfig.json -> npx tsc --noEmit, npx eslint <changed files>.
    • Python: ruff check <path>, mypy <path>, pytest <specific test file>.
    • Java/Maven: mvn -q -pl <module> compile, then the single relevant test class via -Dtest=<ClassName>.
    • Gradle: ./gradlew :<module>:compileJava / :<module>:test --tests <ClassName>.
  2. Run ONLY the checks and tests directly related to the files you changed. Never run the full test suite.
  3. Disable color output so logs are readable: NO_COLOR=1, --no-color, or --no-colors.
  4. Read the output as ground truth. If it reports errors, they are real — do not claim success.
  5. Fix the root cause, then re-run the SAME command. Repeat until it passes.

Rules

  • Only mark a todo completed once its verification command passes.
  • If you cannot find a check command, at minimum compile/parse the changed files.
  • Do not disable or delete failing tests to make checks pass.
자주 묻는 질문

전체 테스트 스위트를 실행하나요?

아니요, 스킬은 변경된 파일과 직접 관련된 점검과 테스트만 실행합니다.

실패하는 테스트를 꺼서 통과시킬 수 있나요?

아니요, 스킬은 실패하는 테스트를 끄거나 삭제하지 말라고 명시합니다.

점검 명령이 없으면 어떻게 하나요?

최소한 변경된 파일을 컴파일하거나 구문 분석합니다.

상세 정보

작성자의 원본 설명

Verify code changes by running the project's typecheck, build, lint, and targeted tests, then fix and re-run until clean. Use after editing any source file.

repo: agentscope-ai/agentscope-java

인기도

GitHub 스타
6.2k
순위
#14389
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬