Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

bootstrapBootstrap 初始化

Agent Skill

bootstrap 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,979

周安装

85

GitHub Stars

2

下载量

694
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jwilger/agent-skills --skill bootstrap

简介

bootstrap 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装命令:npx skills add https://github.com/jwilger/agent-skills --skill bootstrap
  • 安装前建议确认权限范围、维护状态及是否会触发联网或命令执行。

SKILL.md

Bootstrap

Value: Communication -- establish shared understanding of environment, capabilities, and workflow before any work begins.

Purpose

Single entry point for configuring the SDLC workflow on any harness. Detects the project environment and harness capabilities, configures TDD mode (guided or automated), generates harness-appropriate instruction files, and recommends skills. Never silently installs or modifies anything.

Practices

Step 1: Detect the Environment

Gather project context silently before asking questions:

!test -f package.json && echo "js" || true
!test -f Cargo.toml && echo "rust" || true
!test -f pyproject.toml && echo "python" || true
!test -f go.mod && echo "go" || true
!test -f mix.exs && echo "elixir" || true
!git rev-parse --is-inside-work-tree 2>/dev/null && echo "git" || true
!ls skills/*/SKILL.md 2>/dev/null | sed 's|skills/||;s|/SKILL.md||' || true

Record: languages detected, git available, skills already installed. If no language files are found, note "none" and ask the user in Step 5.

Step 2: Detect Harness Capabilities

Probe for delegation primitives (see references/capability-detection.md): check for Agent tool and skill chaining (always available).

Step 3: Detect Harness Type

Identify the harness to generate the correct instruction files:

SignalHarness
CLAUDE.md convention, Claude Code toolsClaude Code
AGENTS.md convention, Codex toolsCodex
.cursor/rules directoryCursor / Windsurf
None of the aboveGeneric (AGENTS.md only)

Step 4: Configure TDD Mode

Match the strategy to detected capabilities:

Capabilities detectedStrategyDefault mode
Agent toolSubagentsAutomated
NeitherChainingAutomated

Chaining is always available and runs all TDD phases sequentially in a single context. Guided mode (/tdd red, /tdd green, etc.) is always available as a user-controlled alternative. Let the user override.

If Claude Code is detected and the user wants maximum enforcement, offer to install optional hook templates from skills/tdd/references/hooks/.

Step 4b: Detect Factory Mode

Check if the pipeline skill is installed (skills/pipeline/SKILL.md exists). If detected, factory pipeline mode is available and Step 5 includes an additional question.

Step 5: Ask the User

Question 1: What are you trying to do?

  • "Start a new project" -- recommend Understand + Decide + Build phases
  • "Add a feature or fix a bug" -- recommend Build + Ship phases
  • "Set up team workflow" -- recommend all phases plus ensemble team

Question 2: How much process structure?

  • "Minimal" -- recommend tdd, domain-modeling
  • "Standard" -- recommend core + ship skills
  • "Full" -- recommend all skills (include factory pipeline skills when pipeline is detected)

Question 3 (only when pipeline detected): What autonomy level? Conservative / Standard / Full. Generate .factory/config.yaml with the chosen level. See references/skill-recommendations.md for skill lists.

Step 6: Task Tracking Convention

Include in generated instruction files that agents should use task lists (TaskCreate, TaskList, or equivalent harness tools) to track work — even for tasks that seem simple. Simple tasks often reveal subtasks, and a visible task list keeps progress transparent and prevents steps from being forgotten.

This convention goes into the AGENTS.md "Conventions" section (see references/agents-md.md). If the task-management skill is installed, reference it; otherwise, include the basic convention directly.

Step 7: Collect Per-Skill AGENTS.md Contributions

Some installed skills ship a references/agents-md-setup.md file that specifies content to add to AGENTS.md. Scan all installed skills for this file:

!for skill in skills/*/; do
  test -f "${skill}references/agents-md-setup.md" && echo "${skill}"
done

For each skill that has one, read its agents-md-setup.md and incorporate the specified content into AGENTS.md using managed markers for that skill (<!-- BEGIN MANAGED: skill-name -->). The setup file documents what section to add or append to and provides the content template.

Size budget: AGENTS.md must stay under 32 KiB total. Per-skill contributions should be concise — a few bullet points or a short section. If the combined contributions would exceed the budget, summarize and point to the skill for details rather than including full content.

Step 8: Generate Instruction Files

Generate harness-appropriate files. For Claude Code, CLAUDE.md uses @AGENTS.md references instead of symlinks or content embedding to keep a single source of truth and avoid duplication. See references/agents-md.md for AGENTS.md best practices (small routing document, progressive disclosure, managed markers) and references/harness-files.md for harness-specific generation rules.

Step 9: Optional Ensemble Team

If the user selected "Set up team workflow" or "Full", offer the ensemble-team skill with its three presets (solo-plus, lean, full).

Step 10: Commit and Display

Stage generated files, commit with a descriptive message, and display:

  • What was configured (harness, TDD mode, skills recommended)
  • Next steps (/tdd to start a TDD cycle, or phase-specific commands)
  • If ensemble team was configured, note the preset and member count

Enforcement Note

Advisory in all modes. Bootstrap detects and recommends; it never silently modifies. No skill or setting is installed without explicit user confirmation [H].

Constraints

  • "Never silently installs" [H]: "Override" means the user explicitly says "yes, install X" — not inferred permission from context.
  • AGENTS.md 32 KiB budget: Hard cap, not target. Summarize to fit.

Verification

  • Environment was detected before asking questions
  • Harness capabilities were probed (not assumed)
  • No more than 2-3 questions were asked
  • TDD strategy matched detected capabilities (see Step 4 table)
  • Generated files use managed markers for safe re-runs
  • Task tracking convention is included in generated AGENTS.md
  • Per-skill AGENTS.md contributions were collected and included
  • Nothing was installed without user confirmation

Dependencies

This skill works standalone. It recommends but does not require other skills. It generates configuration that references the tdd skill for TDD workflow.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

33.89%
按下载量换算235

Claude

31.37%
按下载量换算218

Cursor

17.66%
按下载量换算123

Gemini CLI

9.2%
按下载量换算64

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills