repository-foundation-bootstrap
Skill4 starsChanged 10 months agoMITView on GitHub
Use this skill when bootstrapping a new repository or migrating an existing repo to conform to this skill library's standards, ensuring a clean, minimal foundation before feature work begins.
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agents-onboardingSkill
- agent-workitem-automationSkill
- architecture-testingSkill
- aspire-integration-testingSkill
- automated-standards-enforcementSkill
- best-practice-introductionSkill
- branching-strategy-and-conventionsSkill
- broken-windowSkill
- change-risk-rollbackSkill
- ci-cd-conformanceSkill
- component-boundary-ownershipSkill
- contract-consistency-validationSkill
- csharp-best-practicesSkill
- deployment-provenanceSkill
- documentation-as-codeSkill
- documentation-scaffoldSkill
- dotnet-bespoke-code-minimisationSkill
- dotnet-best-practicesSkill
- dotnet-domain-primitivesSkill
- dotnet-efcore-practicesSkill
- dotnet-healthchecksSkill
- dotnet-logging-serilogSkill
- dotnet-mapping-standardSkill
- dotnet-open-source-first-governanceSkill
- dotnet-source-generation-firstSkill
- dotnet-specification-patternSkill
- dotnet-testing-assertionsSkill
- environment-traceabilitySkill
- finishing-a-development-branch-iddSkill
- greenfield-baselineSkill
- impacted-scope-enforcementSkill
- incremental-change-impactSkill
- incremental-deploymentSkill
- innersource-governance-bootstrapSkill
- issue-driven-deliverySkill
- library-extraction-stabilisationSkill
- local-dev-experienceSkill
- markdown-authorSkill
- modern-csharp-coding-standardsSkill
- monorepo-orchestration-setupSkill
- observability-logging-baselineSkill
- pair-programmingSkill
- persona-switchingSkill
- process-skill-routerSkill
- quality-gate-enforcementSkill
- release-tagging-planSkill
- repo-best-practices-bootstrapSkill
- requirements-gatheringSkill
- runtime-tooling-validationSkill
- safe-brownfield-refactorSkill
- scoped-colocationSkill
- security-processesSkill
- selective-build-testSkill
- semantic-version-impactSkill
- session-awareSkill
- skills-first-workflowSkill
- static-analysis-securitySkill
- structured-review-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
Plan: Use brainstorming and writing-plans to define the bootstrap sequence and rollback approach.
- Very specific: line 53
Verification: Run required verification (including security checks when applicable) and ensure zero warnings (see quality-gate-enforcement).
- Distinctive: line 91
If safety or correctness conflicts arise, P0/P1 skills override this skill.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Foundation Bootstrap
Intent
Establish a clean, standards-aligned repository foundation that supports both new (greenfield) and existing (brownfield) codebases without introducing drift or bypassing quality gates.
When to Use
- Starting a new repository from scratch.
- Migrating a brownfield repository to this library's standards.
- Rebuilding or re-establishing repo structure, tooling, or governance.
Precondition Failure Signal
- Repository lacks a verified baseline structure or consistent tooling.
- Quality gates or tooling are introduced on top of unresolved warnings.
- Brownfield migration starts without impact analysis or a transition plan.
Postcondition Success Signal
- Repository baseline is documented and verified with zero warnings.
- Greenfield or brownfield path is explicit and approved.
- Tooling and governance alignment is reproducible and reviewable.
Process
- Source Review: Inspect current repo state (or confirm greenfield) and identify missing baseline elements.
- Scope Decision: Declare greenfield vs brownfield path and apply
incremental-change-impactfor brownfield migrations. - Plan: Use
brainstormingandwriting-plansto define the bootstrap sequence and rollback approach. - Implementation:
- Greenfield: initialize repo structure, commit baseline scaffolding, and align configuration with repository standards.
- Brownfield: apply changes incrementally using
safe-brownfield-refactorandbest-practice-introduction.
- Verification: Run required verification (including security checks when
applicable) and ensure zero warnings (see
quality-gate-enforcement). - Documentation: Record decisions in ADRs when structure or tooling changes are introduced.
- Review: Tech Lead and Platform/DevOps review baseline integrity, migration safety, and CI/CD alignment.
Example Test / Validation
- Baseline verification suite passes with zero warnings after bootstrap.
Common Red Flags / Guardrail Violations
- Enabling gates before resolving baseline warnings.
- Migrating brownfield repos without impact analysis or rollback plan.
- Applying broad changes without ADRs for structure/tooling decisions.
Recommended Review Personas
- Tech Lead - validates scope, sequencing, and architectural intent.
- Platform/DevOps Engineer - validates tooling alignment and CI/CD impact.
Skill Priority
P2 - Consistency & Governance
Conflict Resolution Rules
- If safety or correctness conflicts arise, P0/P1 skills override this skill.
- Brownfield migrations must defer to
safe-brownfield-refactorandincremental-change-impactsequencing.
Conceptual Dependencies
- brainstorming
- writing-plans
- incremental-change-impact
- safe-brownfield-refactor
- best-practice-introduction
- quality-gate-enforcement
- ci-cd-conformance
- static-analysis-security (when security posture changes)
Classification
Governance Core
Notes
This skill defines the repository foundation. It does not replace
greenfield-baseline for component-level setup; use both when needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

