Skip to content
Back to skills

Dw Bootstrap

ASecurity

初始化/迁移 dw-harness 到当前项目(写 AGENTS.md、rules、harness.json,合并 settings.json)。仅在用户明确要求安装或升级 harness 时使用。

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 16, 2026
ai-agentspythonbash

Works with

  • mcp

Security analysis

A100/100

Scanned November 16, 2026

npx -y skills add pugyy/dw-harness --skill dw-bootstrap --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dw Bootstrap?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dw Bootstrap
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pugyy-dw-bootstrap/badge)](https://www.skillsdirectory.com/skills/pugyy-dw-bootstrap)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dw-bootstrap
description: 初始化/迁移 dw-harness 到当前项目(写 AGENTS.md、rules、harness.json,合并 settings.json)。仅在用户明确要求安装或升级 harness 时使用。
disable-model-invocation: true
allowed-tools: Read, Write, Edit, Glob, Bash(dw init:*), Bash(dw doctor:*)
---

# dw-bootstrap:安装 / 迁移

## 流程

1. 合并式安装(不覆盖用户修改,写备份):

```bash
dw init --target . --python python
```

插件中调用时加 \`--mode plugin\`,只安装项目文件。

2. 首次安装检查:`dw doctor`
3. v1 项目升级:旧 hook 自动停用,八个旧命令对照见 `docs/upgrade-from-v1.md`
   (插件模式命令带 `dw-harness:` 前缀;模板模式保留原名)

## 要点

- 重复执行不产生重复 hook 配置(按 matcher 去重)
- 用户改过的文件报 conflict 并保留原样,绝不动手覆盖
- 需要 MCP 时:`dw init --mcp`(默认关闭,显式开启)

## 交付物

AGENTS.md、CLAUDE.md(引用 @AGENTS.md)、.claude/dw/*、.claude/rules/*、settings.json 合并报告

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.