本文へ移動
cccskills
無料GitHub で公開

kage-skill

Standard Operating Procedures for architecture decisions, security audits, deep code analysis, risk assessment, and critical problem solving.

インストール方法を見る

含まれるファイル(88)

  • SKILL.md8.1 KB
  • references/ai-safety-governance-expert.md8.3 KB
  • references/antislop-assets/contrast-check.py5.5 KB
  • references/antislop-assets/contrast-mcp.py3.6 KB
  • references/antislop-code.md7.4 KB
  • references/antislop-copywriting.md24.9 KB
  • references/antislop-human.md10.9 KB
  • references/antislop-layoutmobile.md14.6 KB
  • references/antislop-ui.md24.6 KB
  • references/antislop.md47.7 KB
  • references/compliance-gdpr-privacy-expert.md5.0 KB
  • references/composable-mach-architect.md13.9 KB
  • references/drawio-skill-assets/data/lobe-icons.json12.6 KB
  • references/drawio-skill-assets/data/SHAPE-INDEX-NOTICE.md880 B
  • references/drawio-skill-assets/references/autolayout.md18.9 KB
  • references/drawio-skill-assets/references/derasterize.md2.5 KB
  • references/drawio-skill-assets/references/diagram-types.md16.3 KB
  • references/drawio-skill-assets/references/live-infra.md3.6 KB
  • references/drawio-skill-assets/references/mermaid-authoring.md4.5 KB
  • references/drawio-skill-assets/references/pr-bot.md3.4 KB
  • references/drawio-skill-assets/references/shapes.md7.0 KB
  • references/drawio-skill-assets/references/style-extraction.md17.2 KB
  • references/drawio-skill-assets/references/style-presets.md10.8 KB
  • references/drawio-skill-assets/references/toolbox.md8.9 KB
  • references/drawio-skill-assets/references/troubleshooting.md5.2 KB
  • references/drawio-skill-assets/references/tubemap.md3.2 KB
  • references/drawio-skill-assets/references/xml-authoring.md12.2 KB
  • references/drawio-skill-assets/scripts/aiicons.py7.8 KB
  • references/drawio-skill-assets/scripts/autolayout.py17.9 KB
  • references/drawio-skill-assets/scripts/buildup.py14.0 KB
  • references/drawio-skill-assets/scripts/c4.py6.5 KB
  • references/drawio-skill-assets/scripts/ciimports.py7.6 KB
  • references/drawio-skill-assets/scripts/composeimports.py4.6 KB
  • references/drawio-skill-assets/scripts/compress.py10.3 KB
  • references/drawio-skill-assets/scripts/dockerimports.py6.2 KB
  • references/drawio-skill-assets/scripts/drawio2mermaid.py5.8 KB
  • references/drawio-skill-assets/scripts/drawio2pptx.py4.4 KB
  • references/drawio-skill-assets/scripts/drawiodiff.py7.0 KB
  • references/drawio-skill-assets/scripts/drawiohtml.py10.2 KB
  • references/drawio-skill-assets/scripts/edgeports.py9.1 KB
  • references/drawio-skill-assets/scripts/encode_drawio_url.py2.2 KB
  • references/drawio-skill-assets/scripts/explain.py6.0 KB
  • references/drawio-skill-assets/scripts/goimports.py5.4 KB
  • references/drawio-skill-assets/scripts/heatmap.py9.0 KB
  • references/drawio-skill-assets/scripts/jsimports.py6.2 KB
  • references/drawio-skill-assets/scripts/k8simports.py9.6 KB
  • references/drawio-skill-assets/scripts/openapiimports.py6.6 KB
  • references/drawio-skill-assets/scripts/prdiff.py7.8 KB
  • references/drawio-skill-assets/scripts/pyclasses.py6.1 KB
  • references/drawio-skill-assets/scripts/pyimports.py6.2 KB
  • references/drawio-skill-assets/scripts/raster2drawio.py7.3 KB
  • references/drawio-skill-assets/scripts/relabel.py4.1 KB
  • references/drawio-skill-assets/scripts/repair_png.py1.1 KB
  • references/drawio-skill-assets/scripts/restyle.py7.1 KB
  • references/drawio-skill-assets/scripts/runbook.py9.9 KB
  • references/drawio-skill-assets/scripts/rustimports.py7.4 KB
  • references/drawio-skill-assets/scripts/seqlayout.py9.7 KB
  • references/drawio-skill-assets/scripts/shapesearch.py5.8 KB
  • references/drawio-skill-assets/scripts/sqlerd.py6.6 KB
  • references/drawio-skill-assets/scripts/svgflow.py3.6 KB
  • references/drawio-skill-assets/scripts/tfimports.py11.6 KB
  • references/drawio-skill-assets/scripts/tfstate.py5.4 KB
  • references/drawio-skill-assets/scripts/timelapse.py11.3 KB
  • references/drawio-skill-assets/scripts/tubemap.py6.7 KB
  • references/drawio-skill-assets/scripts/validate.py13.0 KB
  • references/drawio-skill-assets/styles/built-in/colorblind-safe.json1.4 KB
  • references/drawio-skill-assets/styles/built-in/corporate.json1.4 KB
  • references/drawio-skill-assets/styles/built-in/dark.json1.5 KB
  • references/drawio-skill-assets/styles/built-in/default.json1.4 KB
  • references/drawio-skill-assets/styles/built-in/handdrawn.json1.4 KB
  • references/drawio-skill-assets/styles/schema.json5.2 KB
  • references/drawio-skill.md44.9 KB
  • references/improve-codebase-architecture.md5.9 KB
  • references/mermaid-diagrams-refs/advanced-features.md10.1 KB
  • references/mermaid-diagrams-refs/architecture-diagrams.md4.7 KB
  • references/mermaid-diagrams-refs/c4-diagrams.md14.9 KB
  • references/mermaid-diagrams-refs/class-diagrams.md6.8 KB
  • references/mermaid-diagrams-refs/erd-diagrams.md12.1 KB
  • references/mermaid-diagrams-refs/flowcharts.md9.6 KB
  • references/mermaid-diagrams-refs/sequence-diagrams.md9.0 KB
  • references/mermaid-diagrams.md7.6 KB
  • references/post-quantum-crypto-migrator.md4.0 KB
  • references/risk-assessment.md1.6 KB
  • references/saas-architect-assets/references/feature_gating_patterns.md3.5 KB
  • references/saas-architect-assets/references/saas_transformation_checklist.md4.3 KB
  • references/saas-architect-assets/scripts/saas_transformation_scanner.py11.3 KB
  • references/saas-architect.md8.9 KB
  • references/saas-multi-tenant.md11.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Kage: Village Leader & Architect

This skill provides the Standard Operating Procedures (SOP) for the Kage agent — expert-level analysis for critical decisions and high-level strategy.

Workflow Role

In the Konoha workflow, Kage owns architecture planning, research re-planning, and the mandatory post-execution review gate. After explore (genin), Kage produces architecture decisions, trade-off matrices, unique plan_tasks, and explicit needs_research or needs_replan flags. After documentation, Kage verifies every persisted task, changed file, validation result, security check, and rollback note before delivery.

A Kage review must write a structured approval artifact (kage_review.json):

  • Zero AI-Slop Gate (MANDATORY: Always Runs on Every Final Review, TWO STEPS): On EVERY final review dispatch without exception, Kage MUST ALWAYS run the two-step slop review before computing confidence or issuing an approval. Step 1 — aislop_scan (aislop scanner): scan every file changed in the current workflow's task list (or project root); if the result contains any ai-slop/* rule diagnostic — error or warning severity, any count above zero — Kage MUST NOT proceed: re-delegate the flagged files to the executor (Anbu/Jonin) for fixes via aislop_fix or manual correction, and re-run the scan after the fix. Step 2 — anti-slop rule review: load the vendored antislop skill (Konoha skill registry; upstream https://github.com/miqdadbadjuber/anti-slop — core filter plus antislop-code/antislop-ui/antislop-copywriting/antislop-human/antislop-layoutmobile) via konoha.get_skill and verify the changed work against its rules and Delivery Gate. Both steps are a hard pre-gate, not scored categories: either passes at zero findings or the review does not advance to a confidence number at all. TARGET 100%: the workflow mechanically enforces a perfect 100/100 aislop scan (zero findings of ANY severity) before synthesis — delivery is blocked below it. Strict Zero-Exclusions Invariant: NEVER ignore, suppress, or exclude application codebase using aislop-ignore, comments, or config directives (only external node_modules, vendor/, and cache directories may be excluded). Never bypass slop, complexity, or lint rules on codebase via suppressions — resolve the underlying architectural issue directly (e.g. modularizing oversized files). Kage writes ai_slop_findings (integer) and ai_slop_clean (boolean) into kage_review.json.
  • Socket Supply Chain Security Gate (MANDATORY When Maintaining Konoha): When reviewing changes to the Konoha project itself, Kage MUST ALWAYS run the Socket Security Gate using the Socket CLI (rtk socket ci or rtk socket scan create ./package.json --report). The target requirement is 100% clean from High and Medium level risk alerts (0 High/Error severity, 0 Medium/Warn severity). Low-level risk (informational/monitor notices) is excluded from blocking delivery. If ANY High or Medium risk finding is detected, delivery is strictly BLOCKED until the vulnerable package or supply-chain anomaly is remediated. The Kage Confidence Gate Report table must include the Socket Security Gate row verifying 0 High, 0 Medium findings.
  • Minimum 98% Confidence Threshold: Kage assesses overall execution confidence (0–100%). If confidence < 98%, approved: false, missing task evidence, failed validation, or ai_slop_findings > 0 exists, delivery is BLOCKED. Sannin MUST NOT deliver the result to the user, but instead re-delegate the missing/failing items to the appropriate executor until ≥ 98% confidence is achieved across all verification categories (Minimum Required: ≥ 98%).
  • Test Directory Discovery & Single Directory Invariant: Explore the codebase first using get_file_structure or find_files_clean. If an existing test directory exists (e.g. tests/, test/, spec/), ALWAYS place test files within that existing folder. NEVER create duplicate or conflicting test directories.
  • Destructive Command & Secret Guardrails: Strictly forbid destructive commands (rm -rf, DROP, mkfs, dd), destructive git operations (git reset --hard, git push --force, git clean -fdx), and secret file exposure (.env*, secrets.yaml, *.tfvars, private keys) without explicit user permission.
  • Post-Approval Cleanup Gate: All temporary debug scripts (debug_*, temp_*, test_patch.py, scratch/*) must be removed upon final approval so the repository remains production-clean.
  • Standard Final Delivery Report Format: Every final response and delivery report MUST include the standardized Kage Reviewer Confidence Gate Report (Box header with status & confidence %, structured breakdown table covering Verification Category, Target, Evaluated Result, Category Confidence, and Status, with the AI Slop Scan pre-gate row preceding task validation, followed by the overall confidence verdict).

[!NOTE] Tool Usage & Token Preservation: Use konoha MCP server (find_skill, get_skill) for all skill/instruction discovery. Do NOT call semble tools (search, find_related) for finding or locating skills, as semble is strictly a project code search engine and querying it burns quota tokens. Always use konoha MCP tools (find_skill, get_skill) for discovering and reading skills and reference documents. NEVER use semble search for skills.

SOP 1: Architecture Decision Framework

  1. Define the problem and identify constraints.
  2. Generate 2-3 alternative approaches.
  3. Create a trade-off matrix covering complexity, risk, performance, and maintenance.
  4. Recommend the best option with clear reasoning.

SOP 2: Security Audit & Penetration Testing Planning

  1. Identify attack surfaces and potential vulnerabilities in dev/local environments.
  2. Formulate penetration testing tasks for Anbu (- [anbu]: Perform penetration testing on local ...).
  3. Assess blast radius, ensure test targets are strictly scoped to development/local environments (localhost, 127.0.0.1, dev containers, local clusters), and require rollback procedures.
  4. During review gate, verify pentest execution completion evidence and ensure findings and remediation steps are documented without false rejection of diagnostic outputs.

SOP 3: Complex Refactoring Plan

  1. Map dependencies before proposing changes.
  2. Define incremental migration steps that keep the system functional.
  3. Validate each step with tests or dry-runs.

Domain Routing

Based on the user's request, load the specific reference file using konoha.get_skill("kage-skill/<reference-name>") (for internal references) or konoha.get_skill("<skill-name>") (for global skills) to understand the architecture, security, and analysis conventions. Never guess the implementation details or read files under .agents/skills/ directly.

If the request involves...Load this reference
Deep code analysis, codebase exploration, code reviewgenin-skill
Security audits, devsecops, vulnerability remediationdevsecops-engineer
Architecture decisions, system design patterns, codebase architecturekage-skill/improve-codebase-architecture
Risk assessment, feature impact analysiskage-skill/risk-assessment
Generating or updating Mermaid architecture diagramskage-skill/mermaid-diagrams
Professional Draw.io architecture diagrams and XML generationkage-skill/drawio-skill
Anti-slop core filter, code delivery gate reviewkage-skill/antislop
Code comment hygiene, removing generic AI commentskage-skill/antislop-code
Copywriting, headlines, tone, CTAs, anti-AI text patternskage-skill/antislop-copywriting
Human accessibility, contrast check, keyboard, focus, stateskage-skill/antislop-human
Mobile layout, touch targets, responsive reflowkage-skill/antislop-layoutmobile
UI & visual design, color palettes, motion, componentskage-skill/antislop-ui

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Extract DPAPI-protected secrets such as credentials and browser data offline and online.

日本語の概要は準備中です。原文の説明を表示しています。

andycungkrinx91/konoha92026年10月9日 更新

Audit, detect, and remediate Shadow Credentials misconfigurations on msDS-KeyCredentialLink in Active Directory. Focuses on access-controls, monitoring Event ID 5136, and credential-management hygiene.

日本語の概要は準備中です。原文の説明を表示しています。

andycungkrinx91/konoha92026年10月9日 更新

Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev 2 security requirements across 14 families, compute the SPRS score with the DoD Assessment Methodology, manage a compliant POA&M, and ready the organization for a C3PAO assessment. Use when an organization handles Controlled Unclassified Information (CUI) under a DoD contract, when a contract carries DFARS clause 252.204-7012/7019/7020/7021, when preparing for or responding to a CMMC assessment, when computing or improving an SPRS score, when building a System Security Plan or POA&M for 800-171, or when scoping which systems are in the CUI boundary. Keywords: CMMC, CMMC Level 2, NIST 800-171, SP 800-171 Rev 2, CUI, FCI, SPRS, DFARS 7012, C3PAO, POA&M, System Security Plan, DoD Assessment Methodology, 110 controls, defense industrial base, DIB, FedRAMP equivalency.

日本語の概要は準備中です。原文の説明を表示しています。

andycungkrinx91/konoha92026年10月9日 更新

Create forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification.

日本語の概要は準備中です。原文の説明を表示しています。

andycungkrinx91/konoha92026年10月9日 更新

Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths

日本語の概要は準備中です。原文の説明を表示しています。

andycungkrinx91/konoha92026年10月9日 更新

Perform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source recovery, and androguard for permission analysis, manifest inspection, and suspicious API call detection.

日本語の概要は準備中です。原文の説明を表示しています。

andycungkrinx91/konoha92026年10月9日 更新

andycungkrinx91 のスキルをすべて見る

このスキルの問題を報告する