Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计未展示

methodology-bootstrapping方法论引导

Agent Skill

methodology-bootstrapping 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,463

周安装

483

GitHub Stars

公开资料未说明

下载量

4,427
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:methodology-bootstrapping(方法论引导)
来源仓库:https://github.com/zpankz/mcp-skillset
仓库路径:skills/methodology-bootstrapping
安装命令:
npx skills add zpankz/mcp-skillset --skill "methodology-bootstrapping"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add zpankz/mcp-skillset --skill "methodology-bootstrapping"

简介

发现并安装 AI 代理的技能,支持多宿主环境集成。

  • 适用于技能扩展、工具链管理和自动化流程搭建场景。
  • 通过标准化接口发现和部署各类辅助功能模块。methodology-bootstrapping 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装前需验证宿主兼容性,避免权限冲突或执行异常。
  • 建议定期检查技能仓库更新以保障功能稳定性。

SKILL.md

name
Methodology Bootstrapping
description
Apply Bootstrapped AI Methodology Engineering (BAIME) to develop project-specific methodologies through systematic Observe-Codify-Automate cycles with dual-layer value functions (instance quality + methodology quality). Use when creating testing strategies, CI/CD pipelines, error handling patterns, observability systems, or any reusable development methodology. Provides structured framework with convergence criteria, agent coordination, and empirical validation. Validated in 8 experiments with 100% success rate, 4.9 avg iterations, 10-50x speedup vs ad-hoc. Works for testing, CI/CD, error recovery, dependency management, documentation systems, knowledge transfer, technical debt, cross-cutting concerns.
allowed-tools
Read, Grep, Glob, Edit, Write, Bash

Methodology Bootstrapping

Apply Bootstrapped AI Methodology Engineering (BAIME) to systematically develop and validate software engineering methodologies through observation, codification, and automation.

The best methodologies are not designed but evolved through systematic observation, codification, and automation of successful practices.

What is BAIME?

BAIME (Bootstrapped AI Methodology Engineering) is a unified framework that integrates three complementary methodologies optimized for LLM-based development:

  1. OCA Cycle (Observe-Codify-Automate) - Core iterative framework
  2. Empirical Validation - Scientific method and data-driven decisions
  3. Value Optimization - Dual-layer value functions for quantitative evaluation

This skill provides the complete BAIME framework for systematic methodology development. The methodology is especially powerful when combined with AI agents (like Claude Code) that can execute the OCA cycle, coordinate specialized agents, and calculate value functions automatically.

Key Innovation: BAIME treats methodology development like software development—with empirical observation, automated testing, continuous iteration, and quantitative metrics.


When to Use This Skill

Use this skill when you need to:

  • 🎯 Create systematic methodologies for testing, CI/CD, error handling, observability, etc.
  • 📊 Validate methodologies empirically with data-driven evidence
  • 🔄 Evolve practices iteratively using OCA (Observe-Codify-Automate) cycle
  • 📈 Measure methodology quality with dual-layer value functions
  • 🚀 Achieve rapid convergence (typically 3-7 iterations, 6-15 hours)
  • 🌍 Create transferable methodologies (70-95% reusable across projects)

Don't use this skill for:

  • ❌ One-time ad-hoc tasks without reusability goals
  • ❌ Trivial processes (<100 lines of code/docs)
  • ❌ When established industry standards fully solve your problem

Quick Start with BAIME (10 minutes)

1. Define Your Domain

Choose what methodology you want to develop using BAIME:

  • Testing strategy (15x speedup example)
  • CI/CD pipeline (2.5-3.5x speedup example)
  • Error recovery patterns (80% error reduction example)
  • Observability system (23-46x speedup example)
  • Dependency management (6x speedup example)
  • Documentation system (47% token cost reduction example)
  • Knowledge transfer (3-8x speedup example)
  • Technical debt management
  • Cross-cutting concerns

2. Establish Baseline

Measure current state:

# Example: Testing domain
- Current coverage: 65%
- Test quality: Ad-hoc
- No systematic approach
- Bug rate: Baseline

# Example: CI/CD domain
- Build time: 5 minutes
- No quality gates
- Manual releases

3. Set Dual Goals

Define both layers:

  • Instance goal (domain-specific): "Reach 80% test coverage"
  • Meta goal (methodology): "Create reusable testing strategy with 85%+ transferability"

4. Start Iteration 0

Follow the OCA cycle (see reference/observe-codify-automate.md)


Specialized Subagents

BAIME provides two specialized Claude Code subagents to streamline experiment execution:

iteration-prompt-designer

When to use: At experiment start, to create comprehensive ITERATION-PROMPTS.md

What it does:

  • Designs iteration templates tailored to your domain
  • Incorporates modular Meta-Agent architecture
  • Provides domain-specific guidance for each iteration
  • Creates structured prompts for baseline and subsequent iterations

How to invoke:

Use the Task tool with subagent_type="iteration-prompt-designer"

Example:
"Design ITERATION-PROMPTS.md for refactoring methodology experiment"

Benefits:

  • ✅ Comprehensive iteration prompts (saves 2-3 hours setup time)
  • ✅ Domain-specific value function design
  • ✅ Proper baseline iteration structure
  • ✅ Evidence-driven evolution guidance

iteration-executor

When to use: For each iteration execution (Iteration 0, 1, 2, ...)

What it does:

  • Executes iteration through lifecycle phases (Observe → Codify → Automate → Evaluate)
  • Coordinates Meta-Agent capabilities and agent invocations
  • Tracks state transitions (M_{n-1} → M_n, A_{n-1} → A_n, s_{n-1} → s_n)
  • Calculates dual-layer value functions (V_instance, V_meta) systematically
  • Evaluates convergence criteria rigorously
  • Generates complete iteration documentation

How to invoke:

Use the Task tool with subagent_type="iteration-executor"

Example:
"Execute Iteration 2 of testing methodology experiment using iteration-executor"

Benefits:

  • ✅ Consistent iteration structure across experiments
  • ✅ Systematic value calculation (reduces bias, improves honesty)
  • ✅ Proper convergence evaluation (prevents premature convergence)
  • ✅ Complete artifact generation (data, knowledge, reflections)
  • ✅ Reduced iteration time (structured execution vs ad-hoc)

Important: iteration-executor reads capability files fresh each iteration (no caching) to ensure latest guidance is applied.


knowledge-extractor

When to use: After experiment converges, to extract and transform knowledge into reusable artifacts

What it does:

  • Extracts patterns, principles, templates from converged BAIME experiment
  • Transforms experiment artifacts into production-ready Claude Code skills
  • Creates knowledge base entries (patterns/*.md, principles/*.md)
  • Validates output quality with structured criteria (V_instance ≥ 0.85)
  • Achieves 195x speedup (2 min vs 390 min manual extraction)
  • Produces distributable, reusable artifacts for the community

How to invoke:

Use the Task tool with subagent_type="knowledge-extractor"

Example:
"Extract knowledge from Bootstrap-004 refactoring experiment and create code-refactoring skill using knowledge-extractor"

Benefits:

  • ✅ Systematic knowledge preservation (vs ad-hoc documentation)
  • ✅ Reusable Claude Code skills (ready for distribution)
  • ✅ Quality validation (95% content equivalence to hand-crafted)
  • ✅ Fast extraction (2-5 min, 195x speedup)
  • ✅ Knowledge base population (patterns, principles, templates)
  • ✅ Automated artifact generation (43% workflow automation with 4 tools)

Lifecycle position: Post-Convergence phase

Experiment Design → iteration-prompt-designer → ITERATION-PROMPTS.md
       ↓
Iterate → iteration-executor (x N) → iteration-0..N.md
       ↓
Converge → Create results.md
       ↓
Extract → knowledge-extractor → .claude/skills/ + knowledge/
       ↓
Distribute → Claude Code users

Validated performance (Bootstrap-005):

  • Speedup: 195x (390 min → 2 min)
  • Quality: V_instance = 0.87, 95% content equivalence
  • Reliability: 100% success across 3 experiments
  • Automation: 43% of workflow (6/14 steps)

Core Framework

The OCA Cycle

Observe → Codify → Automate
   ↑                    ↓
   └────── Evolve ──────┘

Observe: Collect empirical data about current practices

  • Use meta-cc MCP tools to analyze session history
  • Git analysis for commit patterns
  • Code metrics (coverage, complexity)
  • Access pattern tracking
  • Error rate monitoring

Codify: Extract patterns and document methodologies

  • Pattern recognition from data
  • Hypothesis formation
  • Documentation as markdown
  • Validation with real scenarios

Automate: Convert methodologies to automated checks

  • Detection: Identify when pattern applies
  • Validation: Check compliance
  • Enforcement: CI/CD gates
  • Suggestion: Automated fix recommendations

Evolve: Apply methodology to itself for continuous improvement

  • Use tools on development process
  • Discover meta-patterns
  • Optimize methodology

Detailed guide: reference/observe-codify-automate.md

Dual-Layer Value Functions

Every iteration calculates two scores:

V_instance(s): Domain-specific task quality

  • Example (testing): coverage × quality × stability × performance
  • Example (CI/CD): speed × reliability × automation × observability
  • Target: ≥0.80

V_meta(s): Methodology transferability quality

  • Components: completeness × effectiveness × reusability × validation
  • Completeness: Is methodology fully documented?
  • Effectiveness: What speedup does it provide?
  • Reusability: What % transferable across projects?
  • Validation: Is it empirically validated?
  • Target: ≥0.80

Detailed guide: reference/dual-value-functions.md

Convergence Criteria

Methodology complete when:

  1. System stable: Agent set unchanged for 2+ iterations
  2. Dual threshold: V_instance ≥ 0.80 AND V_meta ≥ 0.80
  3. Objectives complete: All planned work finished
  4. Diminishing returns: ΔV < 0.02 for 2+ iterations

Alternative patterns:

  • Meta-Focused Convergence: V_meta ≥ 0.80, V_instance ≥ 0.55 (when methodology is primary goal)
  • Practical Convergence: Combined quality exceeds metrics, justified partial criteria

Detailed guide: reference/convergence-criteria.md


Iteration Documentation Structure

Every BAIME iteration must produce a comprehensive iteration report following a standardized 10-section structure. This ensures consistent quality, complete knowledge capture, and reproducible methodology development.

Required Sections

See complete example: examples/iteration-documentation-example.md

Use blank template: examples/iteration-structure-template.md

  1. Executive Summary (2-3 paragraphs)

- Iteration focus and objectives - Key achievements - Key learnings - Value scores (V_instance, V_meta)

  1. Pre-Execution Context

- Previous state: M_{n-1}, A_{n-1}, s_{n-1} - Previous values: V_instance(s_{n-1}), V_meta(s_{n-1}) with component breakdowns - Primary objectives for this iteration

  1. Work Executed (organized by BAIME phases)

- Phase 1: OBSERVE - Data collection, measurements, gap identification - Phase 2: CODIFY - Pattern extraction, documentation, knowledge creation - Phase 3: AUTOMATE - Tool creation, script development, enforcement - Phase 4: EVALUATE - Metric calculation, value assessment

  1. Value Calculations (detailed, evidence-based)

- V_instance(s_n) with component breakdowns - Each component score with concrete evidence - Formula application with arithmetic - Final score calculation - Change from previous iteration (ΔV) - V_meta(s_n) with rubric assessments - Completeness score (checklist-based, with evidence) - Effectiveness score (speedup, quality gains, with evidence) - Reusability score (transferability estimate, with evidence) - Final score calculation - Change from previous iteration (ΔV)

  1. Gap Analysis

- Instance layer gaps (what's needed to reach V_instance ≥ 0.80) - Prioritized list with estimated effort - Meta layer gaps (what's needed to reach V_meta ≥ 0.80) - Prioritized list with estimated effort - Estimated work remaining

  1. Convergence Check (systematic criteria evaluation)

- Dual threshold: V_instance ≥ 0.80 AND V_meta ≥ 0.80 - System stability: M_n == M_{n-1} AND A_n == A_{n-1} - Objectives completeness: All planned work finished - Diminishing returns: ΔV < 0.02 for 2+ iterations - Convergence decision: YES/NO with detailed rationale

  1. Evolution Decisions (evidence-driven)

- Agent sufficiency analysis (A_n vs A_{n-1}) - Each agent's performance assessment - Decision: evolution needed or not - Rationale with evidence - Meta-Agent sufficiency analysis (M_n vs M_{n-1}) - Each capability's effectiveness assessment - Decision: evolution needed or not - Rationale with evidence

  1. Artifacts Created

- Data files (coverage reports, metrics, measurements) - Knowledge files (patterns, principles, methodology documents) - Code changes (implementation, tests, tools) - Other deliverables

  1. Reflections

- What worked well (successes to repeat) - What didn't work (failures to avoid) - Learnings (insights from this iteration) - Insights for methodology (meta-level learnings)

  1. Conclusion

- Iteration summary - Key metrics and improvements - Critical decisions made - Next steps - Confidence assessment

File Naming Convention

iterations/iteration-N.md

Where N = 0, 1, 2, 3, ... (starting from 0 for baseline)

Documentation Quality Standards

Evidence-based scores:

  • Every value component score must have concrete evidence
  • Avoid vague assessments ("seems good" ❌, "72.3% coverage, +5% from baseline" ✅)
  • Show arithmetic for all calculations

Honest assessment:

  • Low scores early are expected and acceptable (baseline V_meta often 0.15-0.25)
  • Don't inflate scores to meet targets
  • Document gaps explicitly
  • Acknowledge when objectives are not met

Complete coverage:

  • All 10 sections must be present
  • Don't skip reflections (valuable for meta-learning)
  • Don't skip gap analysis (critical for planning)
  • Don't skip convergence check (prevents premature convergence)

Tools for Iteration Documentation

Recommended workflow:

  1. Copy examples/iteration-structure-template.md to iterations/iteration-N.md
  2. Invoke iteration-executor subagent to execute iteration with structured documentation
  3. Review examples/iteration-documentation-example.md for quality reference

Automated generation: Use iteration-executor subagent to ensure consistent structure and systematic value calculation.


Three-Layer Architecture

BAIME integrates three complementary methodologies into a unified framework:

Layer 1: Core Framework (OCA Cycle)

  • Observe → Codify → Automate → Evolve
  • Three-tuple output: (O, Aₙ, Mₙ)
  • Self-referential feedback loop
  • Agent coordination

Layer 2: Scientific Foundation (Empirical Methodology)

  • Empirical observation tools
  • Data-driven pattern extraction
  • Hypothesis testing
  • Scientific validation

Layer 3: Quantitative Evaluation (Value Optimization)

  • Dual-layer value functions (V_instance + V_meta)
  • Convergence mathematics
  • Agent as gradient, Meta-Agent as Hessian
  • Optimization perspective

Why "BAIME"? The framework bootstraps itself—methodologies developed using BAIME can be applied to improve BAIME itself. This self-referential property, combined with AI-agent coordination, makes it uniquely suited for LLM-based development tools.

Detailed guide: reference/three-layer-architecture.md


Proven Results

Validated in 8 experiments:

  • ✅ 100% success rate (8/8 converged)
  • ⏱️ Average: 4.9 iterations, 9.1 hours
  • 📈 V_instance average: 0.784 (range: 0.585-0.92)
  • 📈 V_meta average: 0.840 (range: 0.83-0.877)
  • 🌍 Transferability: 70-95%+
  • 🚀 Speedup: 3-46x vs ad-hoc

Example applications:

  • Testing strategy: 15x speedup, 75%→86% coverage (examples/testing-methodology.md)
  • CI/CD pipeline: 2.5-3.5x speedup, 91.7% pattern validation (examples/ci-cd-optimization.md)
  • Error recovery: 80% error reduction, 85% transferability
  • Observability: 23-46x speedup, 90-95% transferability
  • Dependency health: 6x speedup (9h→1.5h), 88% transferability
  • Knowledge transfer: 3-8x onboarding speedup, 95%+ transferability
  • Documentation: 47% token cost reduction, 85% transferability
  • Technical debt: SQALE quantification, 85% transferability

Usage Templates

Experiment Template

Use templates/experiment-template.md to structure your methodology development:

  • README.md structure
  • Iteration prompts
  • Knowledge extraction format
  • Results documentation

Iteration Prompt Template

Use templates/iteration-prompts-template.md to guide each iteration:

  • Iteration N objectives
  • OCA cycle execution steps
  • Value calculation rubrics
  • Convergence checks

Automated generation: Use iteration-prompt-designer subagent to create domain-specific iteration prompts.

Iteration Documentation Template

Structure template: examples/iteration-structure-template.md

  • 10-section standardized structure
  • Blank template ready to copy and fill
  • Includes all required components

Complete example: examples/iteration-documentation-example.md

  • Real iteration from test strategy experiment
  • Shows proper value calculations with evidence
  • Demonstrates honest assessment and gap analysis
  • Illustrates quality reflections and insights

Automated execution: Use iteration-executor subagent to ensure consistent structure and systematic value calculation.

Quality standards:

  • Evidence-based scoring (concrete data, not vague assessments)
  • Honest evaluation (low scores acceptable, inflation harmful)
  • Complete coverage (all 10 sections required)
  • Arithmetic shown (all value calculations with steps)

Common Pitfalls

Don't:

  • Use only one methodology layer in isolation (except quick prototyping)
  • Predetermine agent evolution path (let specialization emerge from data)
  • Force convergence at target iteration count (trust the criteria)
  • Inflate value metrics to meet targets (honest assessment critical)
  • Skip empirical validation (data-driven decisions only)

Do:

  • Start with OCA cycle, add evaluation and validation
  • Let agent specialization emerge from domain needs
  • Trust the convergence criteria (system knows when done)
  • Calculate V(s) honestly based on actual state
  • Complete all analysis thoroughly before codifying

Iteration Documentation Pitfalls

Don't:

  • Skip iteration documentation (every iteration needs iteration-N.md)
  • Calculate V-scores without component breakdowns and evidence
  • Use vague assessments ("seems good", "probably 0.7")
  • Omit gap analysis or convergence checks
  • Document only successes (failures provide valuable learnings)
  • Assume convergence without systematic criteria evaluation
  • Inflate scores to meet targets (honesty is critical)
  • Skip reflections section (meta-learning opportunity)

Do:

  • Use iteration-executor subagent for consistent structure
  • Provide concrete evidence for each value component
  • Show arithmetic for all calculations
  • Document both instance and meta layer gaps explicitly
  • Include reflections (what worked, didn't work, learnings, insights)
  • Be honest about scores (baseline V_meta of 0.20 is normal and acceptable)
  • Follow the 10-section structure for every iteration
  • Reference iteration documentation example for quality standards

Related Skills

Acceleration techniques (achieve 3-4 iteration convergence):

Supporting skills:

Domain applications (ready-to-use methodologies):


References

Core documentation:

Quick start:

Examples:

Templates:


Status: ✅ Production-ready | BAIME Framework | 8 experiments | 100% success rate | 95% transferable

Terminology: This skill implements the Bootstrapped AI Methodology Engineering (BAIME) framework. Use "BAIME" when referring to this methodology in documentation, research, or when asking Claude Code for assistance with methodology development.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

29.23%
按下载量换算1,294

Claude Code

23.64%
按下载量换算1,047

windsurf

18.01%
按下载量换算797

Codex

13.24%
按下载量换算586

kiro-cli

7.5%
按下载量换算332

mcpjam

3.26%
按下载量换算144

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills