Files
AX-Copilot-Codex/dist/AxCopilot/skills/hook-policy-demo.skill.md
lacvet a027ea4f9a
Some checks failed
Release Gate / gate (push) Has been cancelled
재구성 AX Agent 설정과 채팅 UI를 Claude형 구조로
2026-04-04 17:48:51 +09:00

1.3 KiB

name, label, description, icon, tabs, allowed-tools, when_to_use, argument-hint, context, agent, effort, sample, hooks, hook_filters
name label description icon tabs allowed-tools when_to_use argument-hint context agent effort sample hooks hook_filters
hook-policy-demo Hook Policy Demo hooks/hook_filters 런타임 정책 적용 예시 스킬입니다. \uE943 code
file_read
file_edit
grep
build_run
코드 수정 후 특정 훅만 pre/post로 선택 적용하고 싶을 때 대상 파일 경로 또는 변경 목적 fork worker medium true
file_edit build_run
pre post
lint-pre
verify-post
post
verify-post
lint-pre@pre@file_edit, verify-post@post@file_edit, verify-post@post@build_run

이 스킬은 hooks/hook_filters 정책을 함께 사용하는 예시입니다.

목표

  • 수정 전에는 lint-pre 훅만 실행
  • 수정 후/빌드 후에는 verify-post 훅만 실행

실행 가이드

  1. grep + file_read로 대상 코드와 관련 호출부를 확인합니다.
  2. 필요한 최소 범위만 file_edit로 수정합니다.
  3. 수정 후 build_run으로 빌드/테스트를 실행해 검증합니다.
  4. 변경 내용/검증 결과/남은 리스크를 간단히 보고합니다.

제약

  • allowed-tools 목록 외 도구 호출 금지
  • 불필요한 전면 리팩토링 금지
  • 동일 실패 재시도 전에 원인/대안 먼저 제시