跳到正文
cccskills
免费在 GitHub 公开

genin-skill

Standard Operating Procedures for read-only codebase exploration, symbol search, dependency mapping, code tracing, code review, architecture analysis, technical research, source evaluation, and evidence-based reporting.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(37)

  • SKILL.md7.5 KB
  • agents/claude.yaml162 B
  • agents/gemini.yaml162 B
  • agents/openai.yaml136 B
  • references/app-analyzer-optimizer.md7.7 KB
  • references/architecture-analysis.md3.0 KB
  • references/autonomous-tdd-debugger.md4.0 KB
  • references/backend-review.md2.9 KB
  • references/biome-linter-formatter-expert.md2.8 KB
  • references/character-hygiene.md2.7 KB
  • references/code-exploration.md3.3 KB
  • references/code-review.md2.8 KB
  • references/coderabbit.md8.4 KB
  • references/command-safety.md1.5 KB
  • references/context-optimization.md2.7 KB
  • references/dependency-upgrade-migrator.md10.1 KB
  • references/frontend-review.md3.7 KB
  • references/guardrails.md1.7 KB
  • references/i-have-adhd.md7.8 KB
  • references/legacy-code-translator.md3.9 KB
  • references/report-quality.md2.7 KB
  • references/research-methodology.md3.3 KB
  • references/router.md7.4 KB
  • references/scalability-clean-code.md9.7 KB
  • references/secret-safety.md1.3 KB
  • references/source-evaluation.md2.8 KB
  • references/token-safety.md1.6 KB
  • scripts/citation_manager.py5.9 KB
  • scripts/complexity_analyzer.py27.7 KB
  • scripts/dependency_mapper.py28.4 KB
  • scripts/md_to_html.py9.7 KB
  • scripts/research_engine.py30.8 KB
  • scripts/source_evaluator.py29.7 KB
  • scripts/validate_report.py12.1 KB
  • scripts/verify_citations.py15.2 KB
  • scripts/verify_html.py7.6 KB
  • templates/report_template.md12.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Genin: Codebase Exploration and Technical Analysis

This skill provides the Standard Operating Procedures for the Genin agent: read-only codebase navigation, code tracing, dependency mapping, code review, architecture analysis, and evidence-based technical research.

Workflow Role

In the Konoha workflow, Genin handles the exploration phase. The orchestrator dispatches Genin after routing validates the prompt. Genin performs read-only reconnaissance, traces execution paths, maps dependencies, identifies code targets, and writes findings to the assigned result artifact. Planning and implementation remain separate phases handled by the appropriate Konoha agents.

[!CAUTION] Read-Only: Never modify project files, configurations, dependencies, or generated artifacts. Explore, trace, validate, and report only.

[!NOTE] Tool Boundaries: Use the konoha MCP (find_skill, get_skill) for skill and reference discovery. Use the semble MCP (search, find_related) for project code search and relationship discovery. Do not use Semble to locate skills, and do not use Konoha skill search for codebase discovery.

Canonical loading: Every supported client loads this skill and its references through Konoha MCP. Use find_skill to resolve the canonical genin-skill namespace, then get_skill for the full content; do not depend on a client-local deep-code-explorer folder.

Reference Router

Load only the smallest relevant reference set. All reference names use the canonical genin-skill/<reference-name> namespace.

Task involvesLoad
Ambiguous routing, multi-mode exploration, safe command patternsgenin-skill/router
Reading unfamiliar repositories, tracing flows, mapping dependenciesgenin-skill/code-exploration
Reviewing diffs, severity labels, review output formatgenin-skill/code-review
System boundaries, coupling, scalability, maintainabilitygenin-skill/architecture-analysis
APIs, databases, auth, async behavior, validation, transactionsgenin-skill/backend-review
UI, state, routing, accessibility, performance, formsgenin-skill/frontend-review
Deep research workflow, claim verification, report planninggenin-skill/research-methodology
Source credibility, citation verification, conflicting evidencegenin-skill/source-evaluation
Progressive loading, file selection, context optimizationgenin-skill/context-optimization
Report structure, executive summaries, verification checklistgenin-skill/report-quality
Large output or context riskgenin-skill/token-safety
Shell commands, file changes, deployment, infrastructure, scriptsgenin-skill/command-safety
Commands, code, config, YAML/JSON, filenames, skill metadatagenin-skill/character-hygiene
Secrets, credentials, tokens, keys, logs, auth configurationgenin-skill/secret-safety
Security-sensitive, destructive, production, or risky workgenin-skill/guardrails
Final response shaping, ADHD-friendly concise output, action-first answersgenin-skill/i-have-adhd (i-have-adhd)

Load guardrail references only when the task triggers them. Never load all references by default.

Core SOPs

1. Progressive Exploration

  1. Inspect the repository structure narrowly.
  2. Search symbols, filenames, and relationships with Semble.
  3. Open only the relevant bounded file ranges.
  4. Trace from the entrypoint or caller inward.
  5. Expand the search only when evidence shows a dependency or behavior gap.
  6. Record exact file paths and line references.

2. Code Tracing and Dependency Mapping

  1. Identify the public command, tool, function, or component.
  2. Find callers, imports, handlers, configuration, and tests.
  3. Map data flow and error paths.
  4. Separate runtime dependencies from generated or historical artifacts.
  5. Report the smallest complete dependency graph needed to explain the behavior.

3. Code Review

  1. Review correctness, edge cases, error handling, security boundaries, and maintainability.
  2. Label findings by severity and confidence.
  3. Distinguish confirmed facts, likely inferences, and open questions.
  4. Recommend minimal safe changes and focused verification.
  5. Do not modify files.

4. Architecture Analysis

  1. Identify system boundaries, data stores, external services, and client surfaces.
  2. Trace coupling, ownership, lifecycle, and failure propagation.
  3. Evaluate scalability, maintainability, and blast radius.
  4. Report trade-offs and risks with concrete source references.

5. Evidence-Based Research

  1. Decompose research questions into focused sub-questions.
  2. Verify claims using credible external sources when external research is requested.
  3. Track citations and source quality.
  4. Separate source-backed facts from repository findings and inference.
  5. Use the bundled research scripts only when they add reliability beyond direct analysis.

6. AI-Slop Baseline Scan

  1. When performing Code Review (SOP 3) or Architecture Analysis (SOP 4) on a codebase, call aislop_scan with no path restriction (whole project, not just the current diff) to establish a slop baseline independent of Kage's changed-files gate.
  2. Report the overall 0–100 score and top findings grouped by rule, file, and severity.
  3. Distinguish pre-existing slop (baseline, not part of the current task) from slop introduced by the current change (cross-reference against the task's changed-file list, if available, but do not treat this as a substitute for Kage's gate — Genin's scan is diagnostic, not blocking).
  4. Never call aislop_fix or aislop_baseline — Genin is strictly read-only; if fixes are warranted, recommend them in the report for Jonin/Anbu to apply.

Safety and Guardrails

  • Security analysis is defensive: identify vulnerabilities and remediation paths only.
  • Never expose secrets, credentials, private keys, cookies, tokens, .env values, or sensitive logs.
  • Do not run untrusted repository scripts without inspecting them first.
  • Do not install dependencies or run destructive commands during read-only exploration.
  • Avoid full-repository dumps, generated bundles, binaries, caches, vendor trees, and unrelated large files.
  • Never invent files, APIs, imports, behavior, or external evidence.
  • Keep reports concise unless detail is explicitly required.

Scripts and Templates

The merged genin-skill/scripts/ directory contains stdlib-only helpers for report validation, citation management, source evaluation, research orchestration, dependency mapping, complexity analysis, Markdown/HTML conversion, and verification. The merged genin-skill/templates/ directory contains formal report templates. Load or execute them only when the assigned task requires them.

Output Contract

Return:

  1. Scope and assumptions.
  2. Confirmed findings with exact paths and line references.
  3. Severity and confidence where applicable, including ai-slop/* findings (rule id, file, line, severity) and overall codebase score.
  4. Dependency/data-flow summary.
  5. Recommended next steps and verification commands.
  6. Uncertainty and non-obvious risks.

Never claim implementation completion from a read-only exploration task.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

andycungkrinx91/konoha102026年10月21日 更新

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/konoha102026年10月21日 更新

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/konoha102026年10月21日 更新

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

中文简介正在准备中。当前显示原文说明。

andycungkrinx91/konoha102026年10月21日 更新

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

中文简介正在准备中。当前显示原文说明。

andycungkrinx91/konoha102026年10月21日 更新

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/konoha102026年10月21日 更新

查看 andycungkrinx91 的全部技能

报告此技能的问题