AgentSkillsCN

castr-start-right

按照仓库的“立即开始”会话提示及其引用的基础指令,在本Castr仓库中进行初始化或重新初始化工作。在开启新的Codex会话时、完成上下文切换后,或每当您需要重新承诺“在正确的层级解决正确的问题”、坚持TDD/类型约束,以及遵守仓库的质量门禁时,均可使用此方法。

SKILL.md
--- frontmatter
name: castr-start-right
description: Bootstrap or re-bootstrap work in this castr repo by following the repo's start-right session prompt and its referenced foundation directives. Use at the start of a new Codex session, after a context switch, or whenever you need to re-commit to "solve the right problem at the right layer", TDD/type discipline, and the repo's quality gates.

Castr Start Right

Do This First

  1. Read and follow @.agent/prompts/start-right.prompt.md.
  2. If you have not read them in this session, read the directives referenced by that prompt: @.agent/directives/RULES.md, @.agent/directives/testing-strategy.md, @.agent/directives/requirements.md, @.agent/directives/DEFINITION_OF_DONE.md.
  3. Before proposing code changes, ask the user to confirm:
    • What impact are we trying to create for the user?
    • Are we solving the right problem, at the right layer?
    • What assumptions should we validate first?

Execution Rules (Don't Drift)

  • Treat the IR/generator as the source of truth: when analyzing generated output, find and analyze the generator as well.
  • After each piece of work, run the full quality gates one gate at a time, in the repo-defined order, and only analyze failures after all gates have completed.