AGENT SKILL

hforge-init

Bootstrap Harness Forge in the current repository, install or refresh the project-owned runtime, and summarize the managed surfaces that are now available.

License 许可
GPL-3.0
最近更新
2026-05-19
Stars
★ 6
Forks
1

01 前言 Front Matter

name
hforge-init
metadata
{ "author": "harness-forge", "source": "skills/hforge-init/SKILL.md" }
description
Bootstrap Harness Forge in the current repository, install or refresh the project-owned runtime, and summarize the managed surfaces that are now available.
compatibility
Requires a repository where Harness Forge can write project-owned runtime files.

03 SKILL.md 正文

User Input

$ARGUMENTS

You must consider the user input before proceeding.

Goal

Initialize the current repository for Harness Forge usage and make the installed runtime easy to inspect and use.

Execution

  1. Treat the text after /hforge-init as optional setup hints such as target preference or setup intent.
  2. Check whether .hforge/agent-manifest.json or .hforge/runtime/index.json already exists.
  3. Run hforge status --root . --json first.
  4. If the repository is not initialized or required target runtime surfaces are missing, run hforge bootstrap --root . --yes.
  5. Run hforge refresh --root . --json after bootstrap or whenever runtime summaries look incomplete.
  6. Summarize:
    • detected targets
    • installed managed surfaces
    • runtime artifacts now available
    • the best next command to run
  7. If bootstrap cannot run safely, explain the blocker and list the minimum next manual step.

04 同仓库更多 Skills