setup

GitHub

仓库初始化入口,通过探索代码库、执行一次性决策访谈并生成配置文档,随后调度引导和设计引擎完成AI编码代理的落地配置。

.agents/skills/setup/SKILL.md nolly-studio/eve-directory

Trigger Scenarios

需要初始化AI编码代理的仓库环境 希望统一记录项目决策并生成Agent配置

Install

npx skills add nolly-studio/eve-directory --skill setup -g -y
More Options

Non-standard path

npx skills add https://github.com/nolly-studio/eve-directory/tree/main/.agents/skills/setup -g -y

Use without installing

npx skills use nolly-studio/eve-directory@setup

指定 Agent (Claude Code)

npx skills add nolly-studio/eve-directory --skill setup -a claude-code -g -y

安装 repo 全部 skill

npx skills add nolly-studio/eve-directory --all -g -y

预览 repo 内 skill

npx skills add nolly-studio/eve-directory --list

SKILL.md

Frontmatter
{
    "name": "setup",
    "license": "MIT",
    "metadata": {
        "version": "0.1.0",
        "invocation": "user"
    },
    "description": "The entry point. Ground an AI coding agent in a repository in one command — explore the repo, run one frontier interview covering every decision (harness, docs layout, tracker conventions, design direction if a frontend is detected), write the per-repo config doc, then dispatch to the bootstrap-agents-md and design-md engines and verify their output. Run this once per repo; re-run it to revise decisions.",
    "disable-model-invocation": true
}

Setup

You are grounding an AI coding agent in this repository: its behavior (AGENTS.md), its language (CONTEXT.md), and its appearance (DESIGN.md, when there is a frontend). This skill is a thin orchestrator — it makes every user-owned decision exactly once, records the answers, and dispatches the writing to the engine skills. Do not duplicate the engines' work here.

Reference templates

File Used for
references/skills-config-template.md docs/agents/skills-config.md

Process

1. Explore (facts only — ask nothing yet)

Gather what the engines will need and what the interview depends on:

  • Package manager, scripts, CI config, language/lint/test setup (the bootstrap engine's Phase 0 checklist is the authority — skim, don't duplicate its depth)
  • Existing agent docs: AGENTS.md, CLAUDE.md, .cursor/rules, CONTEXT.md, design docs — anything setup must merge with rather than overwrite
  • Frontend detection: react/next/vue/svelte/tailwind verified in package.json — this decides whether design questions enter the interview at all
  • Domain-term candidates: schema and module names, README prose, existing docs (seed material for CONTEXT.md)
  • Issue-tracker traces: .github/ templates, linear/jira references in docs or commit messages

2. Interview (one frontier interview, all decisions)

Run the frontier-interview skill over the full decision tree. Typical tree — prune what the evidence already settles:

  • Harness: which agent harness(es) to target; skills directory (.agents/skills/ vs harness-specific); CLAUDE.md as symlink vs stub file
  • Docs layout: docs root, plans location, whether release notes are wanted
  • Tracker: which issue tracker, branch/PR conventions worth encoding
  • Design (only if a frontend was detected): which design-md mode the evidence supports; if greenfield, the aesthetic-direction subtree from design-md Mode C joins this same interview
  • Domain: one round confirming extracted term definitions and capturing head-only terms the code doesn't show (greenfield repos: this round IS the domain-modeling session)

Facts never enter the interview — anything you can read from the repo is already settled evidence.

3. Write the config doc

Write docs/agents/skills-config.md from references/skills-config-template.md, recording every settled decision. This file is the contract: engines read it and never re-ask what it records. Stamp it with this skill's version.

4. Dispatch to the engines

  1. Follow the bootstrap-agents-md skill in full. It reads the config doc and skips every question answered there.
  2. If a frontend was detected, follow the design-md skill. Same contract: config first.

The engines stay independently invocable — dispatch means follow their SKILL.md, not reimplement it here.

5. Verify

  • docs/agents/skills-config.md exists and records every decision the interview settled
  • Each dispatched engine's own verification pass is clean
  • No decision was asked twice across the interview and the engines
  • Report: decisions settled, files created by each engine, anything deferred (e.g. a Mode C proposal awaiting approval)

Re-runs and stamps

docs/agents/skills-config.md is the only file this skill emits, stamped <!-- generated by setup v<version> --> (version from this skill's frontmatter). On re-run, update the recorded decisions in place — the interview starts from the existing answers, asking only what the user wants to revise plus any decisions new evidence has opened. Everything else the run produces belongs to the engines and follows their own re-run rules.

Constraints

  • One interview. If a decision surfaces later (an engine hits an unforeseen conflict), that is a single follow-up question, not a second interview
  • Never overwrite existing user docs — the engines' merge rules apply, and setup must not pre-empt them
  • If the user declines a whole area (e.g. "no design doc"), record the refusal in the config doc so re-runs and engines don't re-open it

Version History

  • 80d83bc Current 2026-07-31 13:42

Same Skill Collection

.agents/skills/bootstrap-agents-md/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/frontend-design/SKILL.md
.agents/skills/plan-mode/SKILL.md
.claude/skills/integration-nextjs-app-router/SKILL.md
.agents/skills/design-md/SKILL.md
.agents/skills/frontier-interview/SKILL.md

Metadata

Files
0
Version
80d83bc
Hash
f2c89d9f
Indexed
2026-07-31 13:42

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-01 19:20
浙ICP备14020137号-1 $bản đồ khách truy cập$