agentleFS
ailess-labailess-lab/CCFG/.agents/skills/setup-engine/SKILL.md

setup-engine

Skill2 starsChanged 6 months agoMITView on GitHub

Godot-only technical setup entrypoint. Pin Godot version, GDScript, tool paths, engine reference, and minimal test foundation without low-value setup confirmations.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use asset-spec, create-control-manifest and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 4 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 4 projects that use this

  • +8 more from cenconq25

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not read .agents/skills-archive/ during normal use.

    line 22
  2. Distinctive:

    Read that reference when the user asks for test setup, test helpers, Godot runtime validation, CI/test command wiring, or when …

    line 25
  3. Very specific:

    Test paths: tests/unit/, tests/integration/, tests/helpers/

    line 67
  4. Very specific:

    When the user invokes /setup-engine, treat that command as an explicit request to complete the routine low-risk Godot setup scope.

    line 76
  5. Distinctive:

    Write the following directly when the needed facts are known or can be inferred:

    line 80
  6. Distinctive:

    Read-only local version checks when a Godot console path exists.

    line 88
  7. Distinctive:

    If a required fact is missing and materially affects the setup, ask one short question for that fact.

    line 90
  8. Distinctive:

    Ask again only before work outside routine setup, such as creating a new Godot project file, installing tools, changing branch/release …

    line 95

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setup Engine

本 Skill 是 Godot-only。它吸收旧 test-setup 中“测试框架初始化”的引擎设置部分。 更深的 QA、回归和证据检查由 B-dev/C-art 在具体 work order 中交付,阶段级判断由 /gate-check 处理。

如果用户要求配置 Unity、Unreal 或其他引擎,说明本 fork 的核心管线是 Godot-focused;不要把多引擎选择逻辑写回本 Skill。


Reference Loading Rules

Do not read .agents/skills-archive/ during normal use. Old test-setup behavior has been extracted into references/godot-test-foundation.md.

Read that reference when the user asks for test setup, test helpers, Godot runtime validation, CI/test command wiring, or when B-dev/gate-check reports that the test foundation is missing.


Phase 1: Resolve Godot Version

读取:

  1. AGENTS.md
  2. .codex/docs/technical-preferences.md
  3. docs/engine-reference/godot/VERSION.md
  4. project.godot(如果存在)

版本来源优先级:

  1. 用户参数中的版本,例如 4.6.2。
  2. AGENTS.md 的 Engine / Local Tool Paths。
  3. .codex/docs/technical-preferences.md。
  4. docs/engine-reference/godot/VERSION.md。

如果仍无法确定版本,问一个短问题:

Which Godot 4.x version should this project pin?

不要启动引擎选择问卷。


Phase 2: Build Godot Setup Package

准备一个 Godot setup package,而不是对每个文件分别询问。package 至少包含:

  • .codex/docs/technical-preferences.md update:
    • Engine: Godot [version]
    • Language: GDScript
    • Runtime target: Godot project with project.godot
    • Source paths: src/, scenes/, scripts/, addons/ as applicable
    • Asset paths: assets/, design/assets/
    • Test paths: tests/unit/, tests/integration/, tests/helpers/
    • Godot command: local console executable if known, otherwise placeholder
    • Engine reference: docs/engine-reference/godot/VERSION.md
  • docs/engine-reference/godot/VERSION.md create/update if missing or stale.
  • Minimal tests/ foundation if missing.
  • Runtime check plan and whether it can run now.

Routine Setup Execution Boundary

When the user invokes /setup-engine, treat that command as an explicit request to complete the routine low-risk Godot setup scope. Do not ask a separate package-approval question for normal setup bookkeeping.

Write the following directly when the needed facts are known or can be inferred:

  • .codex/docs/technical-preferences.md updates.
  • docs/engine-reference/godot/VERSION.md creation or refresh from local known facts.
  • Minimal tests/ directories and tests/README.md.
  • Recording setup concerns such as missing project.godot, missing local Godot console path, or skipped runtime validation.
  • Read-only local version checks when a Godot console path exists.

If a required fact is missing and materially affects the setup, ask one short question for that fact. State that after the user answers, Codex will finish the routine setup. When the user provides the missing fact, continue the setup directly; do not ask again with "May I update..." or another write approval.

Ask again only before work outside routine setup, such as creating a new Godot project file, installing tools, changing branch/release strategy, deleting or overwriting existing project-specific configuration, or making broad architecture choices.


Phase 3: Engine Reference

如果 docs/engine-reference/godot/VERSION.md 缺失,纳入 Phase 2 setup package 并创建最小版本记录:

# Godot Version Reference

Pinned version: [version]
Language: GDScript
Project file: project.godot
Reference status: local / refreshed

如果用户使用 refresh,只查 Godot 官方来源并更新 Godot reference,不查询 Unity 或 Unreal。

如果版本明显超出模型可靠知识范围,标记:

Engine reference risk: verify APIs against official Godot docs before implementation.

Phase 4: Godot Runtime Check

如果本机 Godot console path 已知且 project.godot 存在,运行一次轻量检查:

[Godot console] --headless --path . --quit

这是只读验证,不需要额外批准。没有可执行路径或没有 project.godot 时,只把它记录为 setup concern。

检查并报告:

  • project.godot 是否存在。
  • addons/ 是否存在且可能影响测试。
  • src/、scenes/、scripts/ 是否存在。
  • .godot/、.import/ 等生成目录不应作为设计事实来源。

Phase 5: Minimal Godot Test Foundation

这一步只建立测试基础,不替代具体 work order 中的 B-dev/C-art 证据交付。

如果 tests/ 缺失,把最小结构纳入 Phase 2 setup package:

tests/
  unit/
  integration/
  helpers/
  README.md

tests/README.md 应记录:

  • pinned Godot version
  • local/headless test command placeholder
  • unit/integration/manual evidence boundaries
  • where B-dev/C-art should place domain evidence for work orders

如果项目已有自己的测试框架,不覆盖;只记录 detected framework 和 gaps。


Phase 6: Output

输出保持短:

Godot setup
- Version: [version]
- Language: GDScript
- Project file: found / missing
- Technical preferences: updated / unchanged / blocked
- Engine reference: current / created / needs refresh
- Test foundation: present / created / concern
- Next: /brainstorm, /design-system, /create-architecture, /gate-check, or a B-dev work order

Verdict: COMPLETE / CONCERNS / BLOCKED

不要推荐旧测试命令或多引擎命令。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.