Platform Governance & Delivery v1.0.0

MCAF: Source Control

Apply MCAF source-control guidance for repository structure, branch naming, merge strategy, commit hygiene, and secrets-in-git discipline. USE FOR: bootstrapping source-control policy; tightening branch, merge, or PR rules; documenting commit or release hygiene. DO NOT USE FOR: CI/CD workflow design with no source-control policy change; one-off git commands that do not alter repo policy. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

Trigger On

  • bootstrapping source-control policy
  • tightening branch, merge, or PR rules
  • documenting commit or release hygiene
  • dealing with secrets-in-git or repository structure issues

Workflow

  1. Agree on merge and release strategy before scaling implementation.
  2. Keep branch and PR rules explicit in-repo.
  3. Treat secrets in git history as a critical incident, not cleanup noise.
  4. Use concrete policy language, not hand-waving.

Deliver

  • clear branch and merge strategy
  • updated contribution or governance docs
  • safer repository hygiene around commits, PRs, and secrets

Validate

  • naming and merge rules are explicit
  • release/versioning implications are documented where needed
  • secret hygiene is treated as policy, not tribal knowledge

Load References

Related skills

Review .NET changes for bugs, regressions, architectural drift, missing tests, incorrect async or disposal behavior, and platform-specific pitfalls before you approve or merge…

Adopt MCAF governance in a .NET repository with the right AGENTS.md layout, repo-native docs, skill installation, verification rules, and non-trivial task workflow.