재구성 AX Agent 설정과 채팅 UI를 Claude형 구조로
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
This commit is contained in:
45
dist/AxCopilot/skills/hook-policy-demo.skill.md
vendored
Normal file
45
dist/AxCopilot/skills/hook-policy-demo.skill.md
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
name: hook-policy-demo
|
||||
label: Hook Policy Demo
|
||||
description: hooks/hook_filters 런타임 정책 적용 예시 스킬입니다.
|
||||
icon: \uE943
|
||||
tabs: code
|
||||
allowed-tools:
|
||||
- file_read
|
||||
- file_edit
|
||||
- grep
|
||||
- build_run
|
||||
when_to_use: 코드 수정 후 특정 훅만 pre/post로 선택 적용하고 싶을 때
|
||||
argument-hint: 대상 파일 경로 또는 변경 목적
|
||||
context: fork
|
||||
agent: worker
|
||||
effort: medium
|
||||
sample: true
|
||||
hooks:
|
||||
file_edit:
|
||||
pre:
|
||||
- lint-pre
|
||||
post:
|
||||
- verify-post
|
||||
build_run:
|
||||
post:
|
||||
- verify-post
|
||||
hook_filters: 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` 목록 외 도구 호출 금지
|
||||
- 불필요한 전면 리팩토링 금지
|
||||
- 동일 실패 재시도 전에 원인/대안 먼저 제시
|
||||
Reference in New Issue
Block a user