用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tokamak-network/tako --skill cross-axis-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cross-axis-check |
| description | 세 축(UI, Contract, Agent) 간 변경 영향도를 자동 판단. 컨트랙트 hook, 타입 정의, ABI, 주소를 수정할 때 자동 호출. |
| allowed-tools | Read, Grep, Glob |
코드 변경이 다른 축에 영향을 미치는지 자동으로 확인합니다.
| 변경 대상 | 확인할 영향 범위 |
|---|---|
| contracts/src/*.sol | → shared/abi/ 재생성 필요? → types.ts 업데이트 필요? → hooks 호환성? |
| shared/types.ts | → hooks에서 import하는 타입이 변경되었는가? → 에이전트 응답 파싱에 영향? |
| shared/addresses.ts | → wagmi config의 주소와 일치? → 에이전트 contracts.json과 일치? |
| shared/abi/*.json | → hooks의 ABI import 경로 정상? → 에이전트가 같은 ABI 사용? |
| hooks/contracts/*.ts | → 컴포넌트에서 hook 사용 방식이 변경되었는가? |
| shared/agent-types.ts | → useAgentChat hook이 새 이벤트 타입을 처리하는가? |
변경된 파일의 축 분류:
contracts/, shared/abi/, shared/types.ts → Contract 축components/, hooks/, app/ → UI 축shared/agent-types.ts, agent 관련 코드 → Agent 축영향받는 다른 축 파일 탐색:
영향도 보고:
## Cross-Axis Impact
**Changed**: shared/types.ts (Contract axis)
**Affected files**:
- src/hooks/contracts/useDAOGovernor.ts (UI axis) — uses Proposal type
- src/components/proposals/ProposalCard.tsx (UI axis) — uses ProposalState
**Action needed**:
- [ ] Verify useDAOGovernor return type matches new Proposal interface
- [ ] Verify ProposalCard handles all ProposalState values
VoteType과 ProposalState는 컨트랙트 enum 순서와 정확히 일치해야 합니다:
VoteType: Against=0, For=1, Abstain=2
ProposalState: Pending=0, Active=1, Canceled=2, Defeated=3,
Succeeded=4, Queued=5, Expired=6, Executed=7
이 값이 shared/enums.ts와 다른 곳에서 하드코딩되어 있으면 즉시 경고합니다.