Agent Skills
› managedcode/dotnet-skills
› mcaf
mcaf
GitHub用于在用户明确要求时,以最小化原则应用 MCAF 仓库治理规则。负责创建或收紧根及本地 AGENTS.md 策略,放置工程上下文并定义验证契约,同时排除普通实现、测试等任务。
Trigger Scenarios
用户明确要求采用 MCAF
需要修改 MCAF 特定规则
Install
npx skills add managedcode/dotnet-skills --skill mcaf -g -y
SKILL.md
Frontmatter
{
"name": "mcaf",
"description": "Apply minimal MCAF repository governance when the user explicitly asks to adopt MCAF or change MCAF-specific rules. USE FOR: creating or tightening root and local AGENTS.md policy; placing durable engineering context; defining the repository's own verification contract. DO NOT USE FOR: ordinary .NET implementation, documentation edits, UI\/UX, testing, CI, Git, NFR, developer-experience, or ML work unless the request is specifically about MCAF governance. INVOKES: inspect repository policy and documentation, make the smallest durable governance change, then validate the affected repository surfaces."
}
MCAF Governance
Keep MCAF as one opt-in governance layer. Do not create parallel mcaf-* implementation or process skills.
Workflow
- Confirm that the request is explicitly about adopting MCAF or changing MCAF governance.
- Read the root
AGENTS.mdand the nearest localAGENTS.md, if one exists. - Keep only durable repository rules that future contributors and agents must know.
- Put each rule next to the area that owns it. Add a local
AGENTS.mdonly when a subtree genuinely differs. - Record exact build, test, format, analysis, and operational commands when the repository depends on them.
- Route implementation work to the normal catalog skill closest to the actual technology or behavior.
- Validate the changed policy, documentation links, and repository commands.
Minimal Rules
- Keep one root
AGENTS.md. - Add local policy only for real local differences; local rules may tighten but not silently weaken root rules.
- Keep one source of truth for each durable fact.
- Describe the current repository, not an intended future state.
- Make acceptance and verification expectations concrete and runnable.
- Add feature specifications, ADRs, review plans, or quality constraints only when the task actually needs those artifacts.
- Turn repeated team pain into a small durable rule; do not encode one-off preferences.
Boundaries
- Do not use MCAF as a router for normal .NET work; use
dotnetor the narrow framework skill. - Do not impose generic agile ceremonies, branch naming, UI/UX choices, onboarding templates, NFR catalogs, or ML process.
- Do not duplicate testing, CI, documentation, security, observability, or architecture skills under an MCAF namespace.
- Do not require brainstorm or plan files for every non-trivial task unless the repository explicitly adopts that workflow.
- Do not add process artifacts that are larger than the decision or behavior they clarify.
Deliver
- the smallest repository-native governance change that resolves the explicit MCAF request
- direct routing to implementation-focused skills for everything outside governance
Validate
- every new rule is durable, scoped, and owned by a repository surface
- no rule duplicates a normal implementation skill
- referenced commands and paths exist
- removed or renamed MCAF surfaces leave no dangling catalog, bundle, watch, or documentation references
Reference
Read references/adoption.md only when bootstrapping MCAF in a repository.
Version History
- 7ab7f03 Current 2026-07-25 05:23


