一键导入
intent-module-orchestrator
Wire cross-module logic, DI/appsettings events, priority bands, and template lookups.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Wire cross-module logic, DI/appsettings events, priority bands, and template lookups.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
The accumulated strategic playbook for building Intent.Modules.NET modules — the judgment calls a veteran module builder makes, distinct from the mechanical process. Covers module decomposition (root/bridging/common), template vs factory-extension choice, file cardinality, managed modes, design-time configuration (setting vs stereotype), convention-vs-explicit, and two-phase verification. LOAD THIS at every design decision point: during kickoff, pattern research, ecosystem analysis, reference-app building, and the increment loop. Referenced by all module-building chain skills.
Use after tech-pattern-researcher produces a Pattern Document and before module-ecosystem-analyst. Scaffolds a real Intent-managed Clean Architecture application with standard modules installed, runs the Software Factory to get the actual generated output, then hand-crafts the technology-specific files on top of that real output. Proves the code shapes compile and the handler is hit at runtime. The running app becomes the ground truth that module-ecosystem-analyst reads to understand what the ecosystem already generates. TRIGGER: mandatory after Pattern Document, before ecosystem analysis — never skip. BLOCK on this skill until the reference app is green.
Use after module-kickoff produces a Requirements Summary. Researches the technology in isolation, maps it to Clean Architecture, and defines exactly what the module must generate. TRIGGER: when a Requirements Summary is in hand and the next step is understanding how to implement it. Produces a Pattern Document — the input to reference-app-builder.
Convert C# template files to Fluent CSharpFile builder API.
Intent Architect MCP workflow: designer operations, element discovery, model modification, Software Factory execution, compilation verification, and cross-module integration patterns. If you find yourself wanting to edit `.xml`, `.config`, `.settings` files inside an `intent` metadata folder directly, perform the change via the IA MCP. This workflow is designed to keep models as the single source of truth — direct file edits are a last resort for truly exceptional cases.
Use after module-ecosystem-analyst produces an Attack Plan. Uses the Intent Architect Module Builder designer via MCP to scaffold the new module: creates the package, templates, factory extensions, and NuGet declarations, then runs Software Factory to generate the code scaffold. TRIGGER: when an Attack Plan is in hand and the next step is scaffolding the module structure. Produces a compiled module skeleton ready for implementation.
| name | intent-module-orchestrator |
| description | Wire cross-module logic, DI/appsettings events, priority bands, and template lookups. |
| argument-hint | [event type | factory extension scenario] [target template role or id] |
[!TIP] Read more if you want to know about priority bands, broker filtering, Startup DSL, DI/Config registration events, or cross-template lookups:
- Orchestration Cheatsheet (To conserve tokens, avoid reading this file for simple or minor updates.)
TemplateRoles.*. Guard templates (use ?. or check null) before accessing CSharpFile.TryGetModel<T> to verify model shape; use TryGetTemplate(...) for multi-fallback chains.ContainerRegistrationRequest / AppSettingRegistrationRequest from OnBeforeTemplateExecution (never from OnAfterTemplateRegistrations)..HasDependency(...). Set ForConcern for specific startup target files.AfterBuild (e.g. 0=Core, 100=Enrichment, 500=Extension, 1000=Final).IAppStartupFile DSL (e.g., AddServiceConfiguration) over manual FindMethod edits..FilterMessagesForThisMessageBroker(ExecutionContext, ...) (pass ExecutionContext).Program.cs or appsettings.json.OnAfterTemplateRegistrations.AddAppConfigurationLambda("UseEndpoints", ...); use AddUseEndpointsStatement instead.