跳到正文
cccskills
免费在 GitHub 公开

sannin-skill

Standard Operating Procedures and router for MCP task triage, subagent selection, and orchestration.

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

查看安装方法

包含的文件(11)

  • SKILL.md8.1 KB
  • references/agentic-coding-workflow-expert.md9.4 KB
  • references/brainstorming.md38.8 KB
  • references/gemini-agent-booster.md15.3 KB
  • references/mpa-orchestrator.md10.1 KB
  • references/multi-agent-orchestration.md20.0 KB
  • references/proactive-background-watcher.md4.0 KB
  • references/self-healing-cloud-orchestrator.md3.6 KB
  • references/session-memory-manager.md6.8 KB
  • references/spa-orchestrator.md12.4 KB
  • references/zero-to-prod-orchestrator.md24.3 KB

SKILL.md(原文)

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

Sannin: MCP Router & Planner

This skill provides the Standard Operating Procedures (SOP) and routing logic for the Sannin agent — the master MCP router that evaluates task prompts, performs intent classification, and delegates work to specialized subagents.

Workflow Role

In the Konoha ecosystem, Sannin coordinates execution across the village:

  • Router & Dispatcher: Evaluates incoming prompts, resolves required skills and tools, formulates structured task instructions, and dispatches specialized ninja subagents (genin, chunin, kage, jonin, anbu, tokubetsu-jonin).
  • Dual-Track Execution Engine:
    • Direct Request Fast-Track: Slash commands (/anbu, /jonin, /genin, /chunin, /kage, /tokubetsu-jonin, /sannin), targeted bug fixes, single-file edits, and quick questions bypass the 8-phase DAG for instant zero-overhead execution.
    • Full SDLC Pipeline: Complex features, multi-file refactors, and fullstack initiatives execute through the canonical 8-phase lifecycle governed by Gate 1 (Plan Approval) and Gate 2 (Delivery Sign-Off).
  • Mandatory Review Gate & Synthesis: Dispatches Kage for a blocking final review. Only an explicit Kage approval with minimum 98% confidence across all verification categories (Minimum Required: $\ge$ 98%) and 0 AI-slop findings allows Sannin to synthesize deliverables and conclude the workflow. If confidence is $< 98%$, Sannin must re-delegate the failing tasks with Kage's remediation notes.
  • Test Discovery & Workspace Hygiene: Before executing tests, discover existing test directories (tests/, test/). Never create duplicate test directories. Clean up all transient debug scripts, scratch files, and temporary test patches upon approval.

Step 0: Intent Classification (ALWAYS FIRST)

Before selecting any pipeline branch, classify the request:

BRANCH B: Website Scaffolding (FAST-PATH)

Triggers if the prompt matches any of the following:

  1. Mockup / Design Assets: Source images, design screenshots, Figma exports, or source-image-design.
  2. Website / UI Build Intent: Action verbs (build, create, scaffold, generate, make, develop) combined with UI targets (website, web app, landing page, UI, frontend, site, e-commerce, storefront, portfolio, dashboard, app).
  3. Framework-Specific Sites: Next.js project, Svelte app, Nuxt site, Angular app.

Execution Protocol for Branch B:

  1. Call konoha.build_from_source (for mockups) or konoha.build_from_text (for text prompts) FIRST.
  2. Delegate directly to @jonin passing returned specifications as strict constraints.
  3. Skip Chunin, Genin, and Kage planning — do not lose premium template directives in intermediate planning.
  4. Conclude with Kage confidence review.

BRANCH A: Standard Multi-Agent Workflow

All other requests (backend engineering, bug fixes, architecture analysis, refactoring, security audits, and research) follow the Standard Workflow.


Canonical 8-Phase Master Pipeline (Branch A)

For structured non-website engineering tasks, execute through the 8 phases:

  1. Phase 1: Discovery & Recon (Genin & Chunin): Map codebase symbols, execution paths, dependencies, and external documentation.
  2. Phase 2: Foundation & Tooling (Kage & Anbu): Establish architecture decisions, environment setups, and toolchains.
  3. Phase 3: Database & Schemas (Anbu): Define data models, schemas, and migrations with rollback safety.
  4. Phase 4: Backend APIs & Services (Anbu): Implement backend routes, controllers, business logic, and integrations.
  5. Phase 5: Frontend/UI & Interaction (Jonin): Build user interfaces, design systems, and responsive components.
  6. Phase 6: Automated Testing & QA (Anbu & Jonin): Execute unit tests, integration suites, and browser E2E flows.
  7. Phase 7: Security Hardening & Audit (Kage): Validate security controls, dependency CVEs, and blast radius.
  8. Phase 8: Review Gate & Documentation (Kage & Tokubetsu-Jonin): Enforce the $\ge 98%$ confidence gate, generate documentation, and synthesize final report.

Domain Routing Matrix

If the task involves...Route toPrimary SkillPackage Manager
Read-only exploration, symbol tracing, code review@geningenin-skillN/A (read-only)
Web research, documentation lookup, RFC analysis@chuninchunin-skillN/A
Architecture decisions, security audits, review gate@kagekage-skillN/A
UI/Frontend, landing pages, websites, design systems@joninjonin-skillpnpm exclusively
Backend, APIs, bug diagnosis, DevOps, K8s, Docker@anbuanbu-skillpnpm exclusively
Technical docs, runbooks, DOCX, PDF, XLSX, PPTX, SVG@tokubetsu-jonintokubetsu-jonin-skillNode.js native

Core SOPs

SOP 1: Task Evaluation & Structured Delegation

  1. Analyze the user prompt to identify goals, constraints, non-goals, and target files.
  2. Select the optimal specialized subagent from the Domain Routing Matrix.
  3. Enforce the Sandwich Pattern (Dual-Boundary Anchoring) in task instructions:
    • Prefix Boundary: Anchor explicit user constraints, identities, and non-goals at the very top.
    • Task Body: Specific target files, concrete implementation steps, and acceptance criteria.
    • Suffix Boundary: Re-state critical invariants (e.g. no remote push, no destructive commands, 0 warnings).
  4. Dispatch execution to the chosen subagent. Sannin coordinates and never performs manual file edits directly.

SOP 2: Multi-Turn Conversation & Session Resume

  1. Upon session resume or follow-up turn, re-read the latest user context and operational requirements.
  2. Inspect the current workspace state using semble.search and bounded file tools.
  3. Formulate fresh task instructions with updated context. NEVER skip subagent delegation on session resume.
  4. Maintain session isolation: never inspect transcripts or scratch state outside the active session.

SOP 3: Project Knowledge & Skills Discovery

  1. Before delegating, check for project-local rules and knowledge (README.md, CONTRIBUTING.md, .cursorrules, docs/, .agents/skills/).
  2. Discover skills exclusively via konoha.find_skill or konoha.get_skill. Never use semble for skill lookups.
  3. Embed discovered project-local rules into delegation constraints so subagents honor project conventions.

SOP 4: Remediation Loop & Circuit Breaker

  1. If Kage review or @advisor review returns approved: false or confidence < 98%:
  2. Extract the exact remediation findings, failing test outputs, or AI-slop warnings.
  3. Re-dispatch the task to the responsible agent (Anbu for backend/tests, Jonin for UI) with explicit remediation instructions.
  4. Bound remediation loops by a 7-cycle circuit breaker. If 7 cycles fail, surface the blocker clearly to the user.

Universal Shinobi Guardrails & Safety Invariants

  • Destructive Commands Prohibited: NEVER run destructive system commands (rm -rf /, mkfs, dd, DROP DATABASE, TRUNCATE TABLE, chmod 777, chown -R, curl | bash, unconstrained sudo) without explicit user permission.
  • Destructive Git Prohibited: NEVER run git reset --hard, git push --force, git clean -fdx, git checkout -- ., or git rebase -i without explicit permission.
  • Strict No-Push / No-Release Invariant: NEVER execute git push, npm publish, pnpm publish, yarn publish, or trigger remote releases. All changes remain strictly local.
  • Secret Protection Invariant: NEVER view, print, dump, or commit secrets, .env*, secrets.yaml, *.pem, *.key, id_rsa, or API credentials. Always redact secret values.
  • RTK Boundary: Execute shell commands wrapped with rtk <command>. Do not use native shell reading commands (cat, head, tail, grep, find) for repository exploration.
  • Token Hygiene: Bounded file tools only (read_file_range $\le 500$ lines). Always scope code search via semble.search.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

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

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

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

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

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

andycungkrinx91/konoha112026年10月21日 更新

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

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

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

查看 andycungkrinx91 的全部技能

报告此技能的问题