SKILL

init

将仓库接入 la 插件:检测问题跟踪器、测试/lint/类型检查命令、Codex、Sonar,以及现有 OpenSpec 或架构设置;提出完整的 living-architecture.yaml,为每个键注明来源;只询问无法检测的内容,写入文件后提供类型检查基线和 la:arch-init。也用作仓库无配置时其他技能调用的快捷入口,以及编辑或转换现有配置的方法。

译文已校对
查看英文原文

Onboard a repo to the la plugin — detect its tracker, test/lint/type-check commands, Codex, Sonar and any existing OpenSpec or architecture setup, propose a complete living-architecture.yaml with a source for every key, ask only what cannot be detected, write the file, then offer the type-check baseline and la:arch-init. Also the fast path other skills run when a repo has no config, and the way to edit or convert an existing config.

适用对象:对象待分类。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Onboard a repo
  • 1. Detect
  • 2. Propose
  • 3. One question round
  • 4. OpenSpec scaffold
  • 5. Write the file
  • 6. Doctor
  • 7. Next steps (full run only)

Preflight: run la-doctor --plugin once per session before using any la- or dr- command; if it fails, stop and show the user its output — unless the only failure is the existing living-architecture.yaml being invalid or declaring an older format, which this skill converts (steps 1 and 5). living-architecture.yaml records each gate of the flow as an explicit decision; its presence means the repo is onboarded. Keys, defaults and the doctor's consistency checks are in docs/configuration.md of the plugin repo; la-config show prints the resolved values. Fast path. When another skill's preflight reports the missing config, run steps 1–6 only, then hand back to that skill. A full run (the user invoked /la:init) continues to step 7. Read, don't ask. For each key note the value and where it came from: Existing config. If living-architecture.yaml exists, this run edits it in place: start from its values. Read it as raw YAML, not with la-config (which rejects removed keys and an older format). Under reviewers, the coderabbit flag and Sonar's enabled switch were removed (both bots are detected per PR): propose deleting them and keeping Sonar's projectkey. living-architecture.local.yaml, if pres

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
MotleyAI/living-architecture
源文件
plugin/skills/init/SKILL.md
固定版本
d515fa3449c9734b464fc67d231a6e6b051106fc
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:MotleyAI/living-architecture · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T18:02:05.997Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。