skills/define-vision/SKILL.md
Define the long-term future the project aims to create. Answers what future we are building; produces a vision statement aligned with mission, persisted to docs.
npx skillsauth add nesnilnehc/ai-cortex define-visionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
定义并记录愿景:项目旨在创造的长期未来。愿景声明回答「我们正在建设什么样的未来?」并与使命保持一致。不定义指标、目标或里程碑。
愿景不同于:
define-mission)。define-north-star)。design-strategic-goals)。define-roadmap)。首要目标:生成与使命一致的、经用户确认的愿景声明,并持久化到项目商定的路径。
成功标准(必须满足所有要求):
define-mission 或说明假定目的。docs/project-overview/vision.md 或项目规范)。验收测试:读者能否理解该项目试图创造什么样的长期未来,并看到其与使命一致?
交接点:愿景批准并持久化后,交接至 define-north-star 或 design-strategic-goals;若仅请求愿景则停止。
define-mission 输出或现有文档读取使命)。docs/project-overview/vision.md)。define-mission)。define-north-star、design-strategic-goals)。define-roadmap)。capture-work-items 等)。强有力的愿景声明应具备:
define-north-star 或 design-strategic-goals 负责。愿景中应避免:
define-mission 之后运行。docs/ARTIFACT_NORMS.md 或 .ai-cortex/artifact-norms.yaml);否则为 docs/project-overview/vision.md。从 docs/project-overview/mission.md 或用户处推断使命。define-mission。docs/project-overview/mission.md 或用户提供的摘要中读取使命。docs/project-overview/。输入:
输出:
docs/project-overview/vision.md(或按项目规范)。不要做这些(其他技能负责):
define-missiondefine-north-stardesign-strategic-goalsdefine-roadmapcapture-work-items 等何时停止并交接:
define-north-star 或 design-strategic-goalsdefine-north-stardesign-strategic-goals 或 define-roadmapdocs/project-overview/vision.md 或项目规范)。读者能否理解该项目试图创造什么样的长期未来,并看到其支持使命?
如果否:愿景不完整或错位。根据使命进行细化和重新检查。 如果是:愿景完成。继续交接或停止。
背景:使命为「我们的存在是为工程团队提供单一、可靠的方式将服务从代码部署到生产。」用户要求定义愿景。
流程:引出 2–5 年目标,如「每个团队仅需一键,即可在 5 分钟内交付生产,并具备全面审核与回滚。」起草愿景;检查是否支持使命。用户确认。写入 docs/project-overview/vision.md。
结果:愿景持久化;交接至 define-north-star(如「每周 5 分钟内成功部署数」)或 design-strategic-goals。
背景:用户要求「定义我们的愿景」,但不存在使命文档。
流程:询问是否从 README 或上下文中假定目的,或建议先运行 define-mission。若用户同意继续,在愿景文档中注明假定目的;起草愿景并与用户确认。持久化;建议稍后补充使命以完善战略链。
结果:愿景持久化,附可选「假定目的」注释;用户可稍后运行 define-mission 完成链。
development
Generate an LLM agent test suite (golden cases, mock-LLM unit tests, evaluator harness) from an agent implementation and its agent-test contract. Use when an agent has no tests, or a contract exists but the test code is missing.
development
After code changes, auto-detect the project's build system and local deployment method for a given directory, then build the project and restart its locally-deployed environment (Docker Compose / systemd / process manager). Never assumes — asks only when detection is ambiguous. Caches detected commands per project in .cortex/redeploy-local.yaml; re-invocations on the same project skip re-scanning until signal files change, the cache expires (30 days), or the skill version bumps.
tools
Publish a NATS message conforming to a cross-team contract, using NATS MCP tools. Authors the contract on first use if missing. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting basics across sessions.
tools
Drain pending NATS messages from a producer contract via NATS MCP tools (default batch / drain-style). Applies Tolerant Reader semantics and per-message ack/nak/term, returning aggregated stats. Reads project-level cache (.cortex/nats.yaml) to avoid re-prompting.