harness-setup
HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.
- License 许可
- MIT
- 所属仓库
- foden303/harness
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- kind
- workflow
- name
- harness-setup
- pair
- harness-sync
- role
- generator
- owner
- harness-core
- shape
- workflow
- since
- 2026-05-05
- effort
- medium
- purpose
- Initialize and repair Harness project configuration
- trigger
- setup, init, new project, CI setup, harness-mem, mirror
- description
- HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.
- allowed-tools
- [ "Read", "Write", "Edit", "Grep", "Glob", "Bash" ]
- argument-hint
- [init|ci|harness-mem|mirrors|agents|localize]
- description-en
- HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.
- user-invocable
- true
02 资源文件 6
- 参考文档references/ci.md394 B
- 参考文档references/harness-mem.md509 B
- 参考文档references/init.md2.1 KB
- 参考文档references/maintenance.md652 B
- 参考文档references/marketplace.md2.5 KB
- 参考文档references/mirrors-agents-localize.md996 B
03 SKILL.md 正文
Harness Setup
Harness unified setup skill. Consolidates the following legacy skills:
setup— unified setup hubharness-init— project initializationharness-update— Harness updatesmaintenance— file cleanup and tidying
Quick Reference
| Subcommand | Action | Details |
|---|---|---|
/harness-setup init |
Initialize a new project (CLAUDE.md + Plans.md + hooks + sync + doctor) | ${CLAUDE_SKILL_DIR}/references/init.md |
/harness-setup ci |
CI/CD pipeline setup | ${CLAUDE_SKILL_DIR}/references/ci.md |
/harness-setup harness-mem |
harness-mem integration and memory setup | ${CLAUDE_SKILL_DIR}/references/harness-mem.md |
/harness-setup mirrors |
Update skills/ → public mirror bundle | ${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md |
/harness-setup agents |
agents/ agent configuration | ${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md |
/harness-setup localize |
Localize CLAUDE.md rules | ${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md |
| marketplace / update | Plugin install, update, dependency policy | ${CLAUDE_SKILL_DIR}/references/marketplace.md |
| maintenance | File cleanup and tidying | ${CLAUDE_SKILL_DIR}/references/maintenance.md |
Built-in slash discovery (CC 2.1.108+): Built-in slash commands like
/initare also discovered. Use/harness-setup initonly when Harness-specific bootstrap is needed.
Claude Code setup guidance (CC 2.1.120+): MCP
alwaysLoad,${CLAUDE_EFFORT},claude plugin prune,claude project purge,ANTHROPIC_BEDROCK_SERVICE_TIER,claude_code.skill_activated.invocation_trigger, Windows PowerShell primary shell, and deferred tools for forked skills / subagents are governed bydocs/claude-code-setup-mcp-telemetry-provider.mdas the source of truth.
Execution
- Choose the Quick Reference row matching the user's goal.
- Read the corresponding
${CLAUDE_SKILL_DIR}/references/*.md. - Follow the steps in the reference file; for operations that support dry-run, run the dry-run first.
- After setup, verify as needed with
harness doctor,bash scripts/sync-skill-mirrors.sh --check, andbash scripts/ci/check-consistency.sh.
Upstream Policy Anchors
docs/plugin-managed-settings-policy.md— plugin managed settings policy; normal defaults must not inherit managed marketplace restrictions.
Reference Index
${CLAUDE_SKILL_DIR}/references/init.md— init, Go binary verification, plugin sync, doctor.${CLAUDE_SKILL_DIR}/references/ci.md— GitHub Actions CI setup.${CLAUDE_SKILL_DIR}/references/harness-mem.md— memory directory and template setup.${CLAUDE_SKILL_DIR}/references/mirrors-agents-localize.md— mirror sync, agent setup, localization.${CLAUDE_SKILL_DIR}/references/marketplace.md— plugin marketplace install/update and managed dependency policy.${CLAUDE_SKILL_DIR}/references/maintenance.md— cleanup commands and related skills.
Related Skills
harness-sync— Check alignment across config, Plans, and git stateharness-work— Execute implementation tasksharness-review— Quality reviewmaintenance— File cleanup (consolidated here)
04 同仓库更多 Skills
escape-skill
暂无简介
zz-review-empty
暂无简介
memory
Manage SSOT, memory, and cross-tool memory search. Guardian of decisions.md and patterns.md. Use when user mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, sync memory, save learnings, memory search, harness-mem, past decisions, or record this. Do NOT load for: implementation work, reviews, ad-hoc notes, or in-session logging.
maintenance
File cleanup and archiving. Tidies up bloated Plans.md, session-log.md, old logs, and state files. Trigger: /maintenance, cleanup, archive, organize, split session-log. Do NOT load for: implementation, review, release, new feature development.
harness-work
HAR: Execute Plans.md tasks from single task to full parallel team run. Trigger: implement, execute, do everything, breezing, team run, parallel. Do NOT load for: planning, review, release, setup.
harness-sync
HAR: Sync Plans.md with implementation. Drift detect, marker update, retrospective. Trigger: sync-status, where am I, check progress. --snapshot for snapshots. Do NOT load for: planning, implementation, review, release.