
Meta Cognition Parallel
Run experimental three-layer parallel Rust analysis (language, design, domain) and synthesize an architecture-safe answer.
Overview
Meta Cognition Parallel is an agent skill most often used in Build (also Ship review and Operate iterate) that runs three parallel Rust cognitive layers and synthesizes a domain-correct architectural answer.
Install
npx skills add https://github.com/zhanghandong/rust-skills --skill meta-cognition-parallelWhat is this skill?
- Experimental v0.2.0 three-layer parallel meta-cognition coordinator
- Parallel Layer 1–3 analyzers: language mechanics, design choices, domain constraints
- Cross-layer synthesis in main context after parallel or inline sequential runs
- Triggered by /meta-parallel, parallel analysis, and related command phrases
- Aims at domain-correct architectural solutions for Rust questions
- Three parallel cognitive layers (L1–L3)
- Experimental version 0.2.0
Adoption & trust: 602 installs on skills.sh; 1.2k GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
Your Rust question spans syntax, API design, and domain rules, and one-shot answers keep missing a layer.
Who is it for?
Intermediate Rust builders debugging design tradeoffs on services, CLIs, or agents with non-trivial domain constraints.
Skip if: Beginners who only need rustc error explanations or cookbook snippets without architecture decisions.
When should I use this skill?
Triggers on /meta-parallel, 三层分析, parallel analysis, or 并行元认知 with a Rust question.
What do I get? / Deliverables
You get L1–L3 findings merged into one synthesized architectural recommendation you can implement or review next.
- Per-layer analysis results
- Cross-layer synthesized architectural recommendation
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Build is the primary shelf because the skill answers Rust design and implementation questions while you are shaping crates and APIs. Backend subphase fits systems-style Rust where ownership, concurrency, and domain constraints intersect on service design.
Where it fits
Compare error-type and async boundary designs before locking a public crate API.
Stress-test a FFI or protocol adapter against domain invariants and Rust ownership rules.
Re-run layered analysis on a risky PR that mixes concurrency and business-rule enforcement.
Revisit architecture after production edge cases exposed a domain constraint gap.
How it compares
Use instead of a single generic Rust Q&A pass when the problem is architectural, not a one-line compile fix.
Common Questions / FAQ
Who is meta-cognition-parallel for?
Developers shipping Rust backends or tools who want layered analysis before committing to an API or concurrency design.
When should I use meta-cognition-parallel?
Use during build when shaping crates and APIs, during ship review when validating design choices, and during operate iterate when hardening domain-sensitive paths.
Is meta-cognition-parallel safe to install?
It is experimental analysis logic only; review the Security Audits panel on this page and treat outputs as advisory.
SKILL.md
READMESKILL.md - Meta Cognition Parallel
# Meta-Cognition Parallel Analysis (Experimental) > **Status:** Experimental | **Version:** 0.2.0 | **Last Updated:** 2025-01-27 > > This skill tests parallel three-layer cognitive analysis. ## Concept Instead of sequential analysis, this skill launches three parallel analyzers - one for each cognitive layer - then synthesizes their results. ``` User Question │ ▼ ┌─────────────────────────────────────────────────────┐ │ meta-cognition-parallel │ │ (Coordinator) │ └─────────────────────────────────────────────────────┘ │ ├─── Layer 1 ──► Language Mechanics ──► L1 Result │ ├─── Layer 2 ──► Design Choices ──► L2 Result │ ├── Parallel (Agent Mode) │ │ or Sequential (Inline) └─── Layer 3 ──► Domain Constraints ──► L3 Result │ ▼ ┌─────────────────────────────────────────────────────┐ │ Cross-Layer Synthesis │ │ (In main context with all results) │ └─────────────────────────────────────────────────────┘ │ ▼ Domain-Correct Architectural Solution ``` ## Usage ``` /meta-parallel <your Rust question> ``` **Example:** ``` /meta-parallel 我的交易系统报 E0382 错误,应该用 clone 吗? ``` ## Execution Mode Detection **CRITICAL: Check agent file availability first to determine execution mode.** Try to read layer analyzer files: - `../../agents/layer1-analyzer.md` - `../../agents/layer2-analyzer.md` - `../../agents/layer3-analyzer.md` --- ## Agent Mode (Plugin Install) - Parallel Execution **When all layer analyzer files exist at `../../agents/`:** ### Step 1: Parse User Query Extract from `$ARGUMENTS`: - The original question - Any code snippets - Domain hints (trading, web, embedded, etc.) ### Step 2: Launch Three Parallel Agents **CRITICAL: Launch all three Tasks in a SINGLE message to enable parallel execution.** ``` Read agent files, then launch in parallel: Task( subagent_type: "general-purpose", run_in_background: true, prompt: <content of ../../agents/layer1-analyzer.md> + "\n\n## User Query\n" + $ARGUMENTS ) Task( subagent_type: "general-purpose", run_in_background: true, prompt: <content of ../../agents/layer2-analyzer.md> + "\n\n## User Query\n" + $ARGUMENTS ) Task( subagent_type: "general-purpose", run_in_background: true, prompt: <content of ../../agents/layer3-analyzer.md> + "\n\n## User Query\n" + $ARGUMENTS ) ``` ### Step 3: Collect Results Wait for all three agents to complete. Each returns structured analysis. ### Step 4: Cross-Layer Synthesis With all three results, perform synthesis per template below. --- ## Inline Mode (Skills-only Install) - Sequential Execution **When layer analyzer files are NOT available, execute analysis directly:** ### Step 1: Parse User Query Same as Agent Mode - extract question, code, and domain hints from `$ARGUMENTS`. ### Step 2: Execute Layer 1 - Language Mechanics Analyze the Rust language mechanics involved: ```markdown ## Layer 1: Language Mechanics **Error/Pattern Identified:** - Error code: E0XXX (if applicable) - Pattern: ownership/borrowing/lifetime/etc. **Root Cause:** [Explain why this error occurs in terms of Rust's ownership model] **Language-Level Solutions:** 1. [Solution 1]: description 2. [Solution 2]: description **Confidence:** HIGH | MEDIUM | LOW **Reasoning:** [Why this confidence level] ``` **Focus areas:** - Ownership rules (move, copy, borrow) - Lifetime annotations - Borrowing rules (shared vs mutable) - Error codes and their meanings ### Step 3: Execute Layer 2 - Design Choices Analyze the design patterns and trade-offs: ```mar