๐ŸŽฏ

meta-cognition-parallel

๐ŸŽฏSkill

from actionbook/rust-skills

VibeIndex|
What it does

Performs parallel three-layer meta-cognitive analysis by forking subagents to simultaneously analyze language mechanics, design choices, and domain constraints for complex problem-solving.

๐Ÿ“ฆ

Part of

actionbook/rust-skills(35 items)

meta-cognition-parallel

Installation

Quick InstallInstall with npx
npx skills add ZhangHanDong/rust-skills
CargoRun with Cargo (Rust)
cargo install cowork
git cloneClone repository
git clone https://github.com/ZhangHanDong/rust-skills.git
Add MarketplaceAdd marketplace to Claude Code
/plugin marketplace add ZhangHanDong/rust-skills
๐Ÿ“– Extracted from docs: actionbook/rust-skills
14Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

"EXPERIMENTAL: Three-layer parallel meta-cognition analysis. Triggers on: /meta-parallel, ไธ‰ๅฑ‚ๅˆ†ๆž, parallel analysis, ๅนถ่กŒๅ…ƒ่ฎค็Ÿฅ"

Overview

# Meta-Cognition Parallel Analysis (Experimental)

> Status: Experimental | Version: 0.1.0

>

> This skill tests parallel three-layer cognitive analysis using context: fork.

Concept

Instead of sequential analysis, this skill launches three parallel subagents - one for each cognitive layer - then synthesizes their results.

```

User Question

โ”‚

โ–ผ

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”

โ”‚ meta-cognition-parallel โ”‚

โ”‚ (Coordinator) โ”‚

โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โ”‚

โ”œโ”€โ”€โ”€ Task(fork) โ”€โ”€โ–บ layer1-analyzer โ”€โ”€โ–บ L1 Result

โ”‚ (Language Mechanics)

โ”‚

โ”œโ”€โ”€โ”€ Task(fork) โ”€โ”€โ–บ layer2-analyzer โ”€โ”€โ–บ L2 Result

โ”‚ (Design Choices) โ”œโ”€โ”€ Parallel

โ”‚ โ”‚

โ””โ”€โ”€โ”€ Task(fork) โ”€โ”€โ–บ layer3-analyzer โ”€โ”€โ–บ L3 Result

(Domain Constraints)

โ”‚

โ–ผ

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”

โ”‚ Cross-Layer Synthesis โ”‚

โ”‚ (In main context with all results) โ”‚

โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โ”‚

โ–ผ

Domain-Correct Architectural Solution

```

Usage

```

/meta-parallel

```

Example:

```

/meta-parallel ๆˆ‘็š„ไบคๆ˜“็ณป็ปŸๆŠฅ E0382 ้”™่ฏฏ๏ผŒๅบ”่ฏฅ็”จ clone ๅ—๏ผŸ

```

Execution Instructions

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:

+ "\n\n## User Query\n" + $ARGUMENTS

)

Task(

subagent_type: "general-purpose",

run_in_background: true,

prompt:

+ "\n\n## User Query\n" + $ARGUMENTS

)

Task(

subagent_type: "general-purpose",

run_in_background: true,

prompt:

+ "\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:

```markdown

Cross-Layer Synthesis

Layer Results Summary

| Layer | Key Finding | Confidence |

|-------|-------------|------------|

| L1 (Mechanics) | [Summary] | [Level] |

| L2 (Design) | [Summary] | [Level] |

| L3 (Domain) | [Summary] | [Level] |

Cross-Layer Reasoning

  1. L3 โ†’ L2: [How domain constraints affect design choice]
  2. L2 โ†’ L1: [How design choice determines mechanism]
  3. L1 โ† L3: [Direct domain impact on language features]

Synthesized Recommendation

Problem: [Restated with full context]

Solution: [Domain-correct architectural solution]

Rationale:

  • Domain requires: [L3 constraint]
  • Design pattern: [L2 pattern]
  • Mechanism: [L1 implementation]

Confidence Assessment

  • Overall: HIGH | MEDIUM | LOW
  • Limiting Factor: [Which layer had lowest confidence]

```

Output Template

```markdown

# Three-Layer Meta-Cognition Analysis

> Query: [User's question]

---

Layer 1: Language Mechanics

[L1 agent result]

---

Layer 2: Design Choices

[L2 agent result]

---

Layer 3: Domain Constraints

[L3 agent result]

---

Cross-Layer Synthesis

Reasoning Chain

```

L3 Domain: [Constraint]

โ†“ implies

L2 Design: [Pattern]

โ†“ implemented via

L1 Mechanism: [Feature]

```

Final Recommendation

Do: [Recommended approach]

Don't: [What to avoid]

Code Pattern:

```rust

// Recommended implementation

```

---

Analysis performed by meta-cognition-parallel v0.1.0 (experimental)

```

Test Scenarios

Test 1: Trading System E0382

```

/meta-parallel ไบคๆ˜“็ณป็ปŸๆŠฅ E0382๏ผŒtrade record ่ขซ move ไบ†

```

Expected: L3 identifies FinTech constraints โ†’ L2 suggests shared immutable โ†’ L1 recommends Arc

Test 2: Web API Concurrency

```

/meta-parallel Web API ไธญๅคšไธช handler ้œ€่ฆๅ…ฑไบซๆ•ฐๆฎๅบ“่ฟžๆŽฅๆฑ 

```

Expected: L3 identifies Web constraints โ†’ L2 suggests connection pooling โ†’ L1 recommends Arc

Test 3: CLI Tool Config

```

/meta-parallel CLI ๅทฅๅ…ทๅฆ‚ไฝ•ๅค„็†้…็ฝฎๆ–‡ไปถๅ’Œๅ‘ฝไปค่กŒๅ‚ๆ•ฐ็š„ไผ˜ๅ…ˆ็บง

```

Expected: L3 identifies CLI constraints โ†’ L2 suggests config precedence pattern โ†’ L1 recommends builder pattern

Limitations (Experimental)

  • Subagent results are summarized, may lose detail
  • Parallel execution depends on Claude Code version
  • Cross-layer synthesis quality depends on result structure
  • May have higher latency than sequential approach

Feedback

This is experimental. Please report issues and suggestions to improve the three-layer parallel analysis approach.

More from this repository10

๐Ÿช
actionbook-rust-skills๐ŸชMarketplace

Comprehensive Rust development assistant with meta-question routing, coding guidelines, version queries, and ecosystem support

๐ŸŽฏ
coding-guidelines๐ŸŽฏSkill

Provides comprehensive Rust coding guidelines covering naming conventions, best practices, error handling, memory management, concurrency, and code style recommendations.

๐ŸŽฏ
rust-refactor-helper๐ŸŽฏSkill

Performs safe Rust refactoring by analyzing symbol references, dependencies, and potential impacts using Language Server Protocol (LSP) operations.

๐ŸŽฏ
m09-domain๐ŸŽฏSkill

Guides domain modeling in Rust by helping identify entities, value objects, aggregates, and their ownership patterns with domain-driven design principles.

๐ŸŽฏ
m05-type-driven๐ŸŽฏSkill

Enforces compile-time type safety by preventing invalid states through type-level design techniques like newtypes, type states, and phantom types.

๐ŸŽฏ
rust-learner๐ŸŽฏSkill

Retrieves and provides comprehensive Rust and crate information, including versions, features, documentation, and changelogs from authoritative sources.

๐ŸŽฏ
m02-resource๐ŸŽฏSkill

Guides developers in selecting the right smart pointer and resource management strategy based on ownership, thread safety, and design constraints.

๐ŸŽฏ
m11-ecosystem๐ŸŽฏSkill

Guides Rust developers in selecting, integrating, and managing ecosystem dependencies with best practices and strategic decision-making.

๐ŸŽฏ
rust-trait-explorer๐ŸŽฏSkill

Explores Rust trait implementations, revealing which types implement specific traits and their implementation details using LSP.

๐ŸŽฏ
rust-call-graph๐ŸŽฏSkill

Generates and visualizes Rust function call graphs using LSP, revealing function relationships and call hierarchies.