スキル building-hooks
📦

building-hooks

v2.0.0 コンテンツリビジョン r1 安全 ⚙️ 外部コマンド📁 ファイルシステムへのアクセス

Claude Code 자동화 훅 구축

Claude Code 훅은 검사, 포맷팅, 정책 적용을 자동화할 수 있지만, 안전하지 않은 훅 스크립트는 로컬 파일이나 명령에 영향을 줄 수 있습니다. 이 스킬은 사용자가 체계적인 훅 설계, 검증, 유지관리를 수행하도록 안내합니다.

対応: Claude Codex Code(CC)
Maintain this Skill? Claim it 🥇 83 ゴールド

自分のエージェントでインストール

このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。

エージェントリクエスト
Review the Skillstore skill "building-hooks" from https://skillstore.io/skills/c0ntr0lledcha0s-building-hooks.md and its manifest at https://skillstore.io/api/skills/c0ntr0lledcha0s-building-hooks/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。

エージェントが読めるリソース

AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。

テストする

「building-hooks」を使用しています。 Create a hook that prevents writes under protected system directories.

期待される結果:

쓰기 도구를 위한 PreToolUse 매처, 검증 스크립트 개요, 허용 및 차단 경로에 대한 테스트 단계가 포함된 hooks.json 계획.

「building-hooks」を使用しています。 Review this hook configuration for safety.

期待される結果:

  • 유효한 훅 이벤트와 유효하지 않은 훅 이벤트 목록.
  • 광범위한 매처나 검증되지 않은 command 입력에 대한 경고.
  • 스크립트 경로와 반환 결정에 대한 권장 변경 사항.

「building-hooks」を使用しています。 Help me maintain our existing Claude Code hooks.

期待される結果:

JSON 구문, 매처 구체성, 스크립트 존재 여부, 실행 권한, 제거해야 할 위험한 command 패턴을 다루는 체크리스트.

セキュリティ監査

安全

Static analysis flagged many shell, filesystem, and destructive-command strings. Review found these strings are documentation examples, validation scripts, or deny-list guidance intended to block unsafe hook behavior, with no evidence of malicious intent or prompt injection.

6
スキャンされたファイル
1,850
解析済み行数
0
レビュー項目
0
誤検知を無視
最新の完了済み静的・セマンティック監査では、確認済みのセキュリティ検出事項は見つかりませんでした。これは、スキルに副作用がないことを証明するものではありません。
監査者: claude 監査履歴を表示 →
このレポートを共有・引用

バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。

バージョン別レポートを開く
セキュリティ評価

レポートリンクをコピー

https://skillstore.io/skills/c0ntr0lledcha0s-building-hooks/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

[![Skillstore security assessment](https://skillstore.io/badges/skills/c0ntr0lledcha0s-building-hooks/security.svg)](https://skillstore.io/skills/c0ntr0lledcha0s-building-hooks?utm_source=security_passport_badge)

HTMLバッジ

<a href="https://skillstore.io/skills/c0ntr0lledcha0s-building-hooks?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/c0ntr0lledcha0s-building-hooks/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/c0ntr0lledcha0s-building-hooks.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学術引用 (APA · BibTeX · CFF)

APA形式の引用

C0ntr0lledCha0s. (2026). building-hooks security audit report (audit version 10) [Author version 2.0.0]. Skillstore. https://skillstore.io/skills/c0ntr0lledcha0s-building-hooks/audits/10

BibTeX形式の引用

@techreport{c0ntr0lledcha0s-c0ntr0lledcha0s-building-hooks-2026, author = {C0ntr0lledCha0s}, title = {building-hooks security audit report (audit version 10)}, institution = {Skillstore}, year = {2026}, number = {10}, url = {https://skillstore.io/skills/c0ntr0lledcha0s-building-hooks/audits/10}, note = {Author version 2.0.0} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "building-hooks security audit report (audit version 10)" version: "2.0.0" type: report authors: - name: "C0ntr0lledCha0s" date-released: "2026-07-09" url: "https://skillstore.io/skills/c0ntr0lledcha0s-building-hooks/audits/10" identifiers: - type: other value: "skillstore:c0ntr0lledcha0s-building-hooks:audit:10" description: "Skillstore immutable audit report identifier"

Skillstore スコア

このスコアの理由 証拠の信頼度: 高
64
アーキテクチャ
100
保守性
87
コンテンツ
73
コミュニティ
83
仕様準拠

作成できるもの

명령 실행 전 안전 검사 추가

실행 전에 도구 요청을 검사하고 위험한 작업을 차단하는 훅을 만듭니다.

프로젝트 자동화 표준화

저장소 전반에서 포맷팅, 검증, 설정, 정리를 위한 반복 가능한 훅을 정의합니다.

기존 훅 구성 유지관리

유효한 이벤트, 매처, command 구조, 보안 관행 측면에서 훅 파일을 검토합니다.

これらのプロンプトを試す

기본 검증 훅 만들기
Create a Claude Code PreToolUse hook that blocks edits to protected directories and explain how I should test it.
포맷팅 자동화 추가
Design a PostToolUse hook that formats Python and TypeScript files after edits. Include the hooks.json entry and safety considerations.
기존 훅 파일 검토
Review my hooks.json for valid event names, matcher patterns, command paths, and risky shell behavior.
안전한 훅 정책 세트 구축
Design a secure Claude Code hook policy for this repository that validates writes, blocks dangerous Bash commands, and logs decisions clearly.

ベストプラクティス

  • 훅이 검사해야 하는 도구에 대해서만 실행되도록 구체적인 매처를 사용하세요.
  • 모든 훅 입력을 셸 명령이나 파일 경로에 사용하기 전에 검증하세요.
  • 팀에 훅을 활성화하기 전에 허용되는 경우와 차단되는 경우를 모두 테스트하세요.

回避

  • 특정 도구 매처로 충분할 때 와일드카드 매처를 사용하지 마세요.
  • 신뢰할 수 없는 훅 매개변수를 eval, bash -c 또는 셸 치환에 직접 전달하지 마세요.
  • 훅 예제나 스크립트에서 파괴적인 명령이나 광범위한 파일 권한을 사용하지 마세요.

よくある質問

이 스킬은 무엇을 빌드하는 데 도움이 되나요?
검사, 포맷팅, 설정, 정책 적용을 자동화하는 Claude Code 훅을 만들고 유지관리하는 데 도움을 줍니다.
훅을 자동으로 설치하나요?
아니요. 안내와 예제를 제공합니다. 사용자는 훅 파일을 직접 검토하고 설치해야 합니다.
어떤 훅 이벤트를 다루나요?
도구 이벤트, 프롬프트 제출, 세션 시작, 중지 이벤트, 일반적인 매처 패턴을 다룹니다.
훅이 안전하지 않은 명령을 차단할 수 있나요?
예. 예제는 위험한 Bash 패턴을 감지하고 차단 결정을 반환하는 검증 훅을 보여줍니다.
이 스킬은 보안 훅 전용인가요?
아니요. 포맷팅, 세션 설정, 정리, 검증, 워크플로 자동화도 다룹니다.
생성된 훅을 사용하기 전에 무엇을 검토해야 하나요?
command 문자열, 파일 경로, 매처, 입력 검증, 권한, 모든 셸 동작을 검토하세요.

開発者情報

作成者

C0ntr0lledCha0s

ライセンス

MIT

作者バージョン

v2.0.0

Skillstore リビジョン

r1

参照

7db9b9f06e0ab79c575b58bc48c4d8dc9849f424

メンテナンスの新しさ

2026/7/22

利用状況

10 ダウンロード · 399 閲覧