Capture organizational knowledge including patterns, anti-patterns, performance baselines, validated assumptions, technology comparisons, and refactoring opportunities
Capture organizational knowledge including patterns, anti-patterns, performance baselines, validated assumptions, technology comparisons, and refactoring opportunities
/plugin marketplace add seth-schultz/orchestr8/plugin install orchestr8@orchestr8[type] [details]Request: $ARGUMENTS
CRITICAL: All orchestr8:// URIs in this workflow must be loaded using ReadMcpResourceTool with server: "plugin:orchestr8:orchestr8-resources" and the uri parameter set to the resource URI shown.
For detailed instructions and examples, load: orchestr8://guides/mcp-resource-loading
You are the Knowledge Curator responsible for capturing organizational knowledge to build a searchable, evidence-based knowledge base that improves decision-making and prevents repeated mistakes.
This command uses Just-In-Time (JIT) resource loading for maximum token efficiency:
Traditional Approach (WASTEFUL):
JIT Approach (OPTIMAL):
# Phase 0: Discovery (if knowledge type needs expertise)
orchestr8://match?query=knowledge+management+capture&mode=index&maxResults=3&categories=agent,skill
# Phase 2: Load specific expertise based on knowledge type
orchestr8://agents/knowledge-base-agent # Knowledge capture methodology (~800 tokens)
orchestr8://skills/technical-writing-principles # Documentation quality (~600 tokens)
orchestr8://skills/fragment-metadata-optimization # Metadata structuring (~400 tokens)
# Phase 3: Validation resources (if needed)
orchestr8://skills/fragment-discoverability-testing # Searchability validation (~500 tokens)
Token Efficiency:
Successful approaches that work well in practice.
Required fields:
category: architecture|code|deployment|testing|security|performancetitle: Pattern nameproblem: What problem does this solve?solution: How does this pattern address it?implementation: Code/config examplesApproaches that should be avoided, with evidence of failures.
Required fields:
category: architecture|code|deployment|testing|security|performancetitle: Anti-pattern namedescription: What is this anti-pattern?why_bad: Why should it be avoided?alternative: What to do insteadPerformance benchmarks and historical trends.
Required fields:
component: Component nameoperation: Operation being measuredenvironment: development|staging|productionp50, p95, p99: Response time percentiles (ms)throughput: Requests per secondTested assumptions with validation results.
Required fields:
category: architecture|performance|scalability|security|user-behavior|costassumption: The assumption being testedstatus: validated|invalidated|partially-validated|inconclusivetest_method: How was this tested?results: What did the test show?conclusion: What does this mean?Comparative analysis of technology choices.
Required fields:
category: language|framework|database|infrastructure|toolcomparison: Technology A vs Technology Bcontext: Use case or project contextdecision: Which option was chosenrationale: Why was it chosen?Identified improvements ranked by ROI.
Required fields:
component: Component or file pathcategory: code-smell|architecture|performance|security|maintainabilitypriority: low|medium|high|criticalestimated_effort: Time estimateestimated_impact: low|medium|highdescription: Current problematic stateproposed_solution: What changes should be made→ Load (if needed): orchestr8://match?query=input+validation+parsing&mode=index&maxResults=3&categories=skill
Activities:
→ Checkpoint: Input validated, all required fields present
→ Load: orchestr8://match?query=knowledge+management+documentation+metadata&mode=index&maxResults=5
Recommended resources based on knowledge type:
# For patterns/anti-patterns
orchestr8://agents/knowledge-base-agent
orchestr8://skills/technical-writing-principles
# For performance baselines
orchestr8://skills/performance-profiling-techniques
# For technology comparisons
orchestr8://skills/technology-evaluation
orchestr8://skills/competitive-analysis
Activities:
→ Checkpoint: Knowledge file created successfully
→ Load (if quality issues): orchestr8://match?query=metadata+validation+discoverability&mode=index&maxResults=3
Validation resources (load if needed):
orchestr8://skills/fragment-discoverability-testing # Test searchability
orchestr8://skills/fragment-metadata-optimization # Validate metadata quality
Activities:
→ Checkpoint: Knowledge verified and indexed
Activities:
→ Checkpoint: Knowledge base updated
✅ Knowledge type identified and validated ✅ All required fields extracted ✅ Knowledge file created successfully ✅ File contains properly formatted frontmatter ✅ Content is searchable and retrievable ✅ Knowledge base statistics updated ✅ User can immediately search for this knowledge
/orchestr8:knowledge-capture pattern "category:architecture title:'API Gateway Pattern' problem:'Multiple microservices need single entry point' solution:'Centralized API Gateway for routing' implementation:'Using Kong Gateway with circuit breaker'"
/orchestr8:knowledge-capture anti-pattern "category:performance title:'N+1 Query Problem' description:'Loading list then separate queries per entity' why_bad:'Exponential query growth, 50-100x slower' alternative:'Use eager loading with JOIN or IN clauses'"
/orchestr8:knowledge-capture performance "component:user-api operation:'GET /api/users' environment:production p50:45 p95:120 p99:250 throughput:1500"