From coding-standards
Bootstrap the coding standards documentation for a project. Creates docs/tooling-register.md, installs relevant rules, and appends coding conventions to root CLAUDE.md. Idempotent — merges missing sections into existing files without overwriting.
How this skill is triggered — by the user, by Claude, or both
Slash command
/coding-standards:bootstrapThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bootstrap the coding standards documentation for **$ARGUMENTS**.
Bootstrap the coding standards documentation for $ARGUMENTS.
This skill operates at the docs/ root level rather than creating its own domain directory.
Scan the project to determine which languages and frameworks are in use:
# Check for language indicators
ls package.json tsconfig.json 2>/dev/null # TypeScript/JavaScript
ls requirements.txt pyproject.toml setup.py 2>/dev/null # Python
ls *.csproj *.sln 2>/dev/null # .NET
ls go.mod 2>/dev/null # Go
ls Cargo.toml 2>/dev/null # Rust
Record which languages are detected — this determines which rules to install and which review skills to reference.
mkdir -p docs
For each file below, apply the safe merge pattern:
<!-- Merged from coding-standards bootstrap v0.1.0 -->docs/tooling-register.mdCreate with this content:
# Tooling Register
This document tracks all tools, services, and platforms used by the project.
## Development Tools
| Tool | Purpose | Owner | URL |
|------|---------|-------|-----|
| GitHub | Source control, issues, PRs | Engineering | https://github.com |
| GitHub Actions | CI/CD pipelines | DevOps | https://github.com/features/actions |
| SonarCloud | Code quality and security analysis | Engineering | https://sonarcloud.io |
| Vercel | Frontend deployment | DevOps | https://vercel.com |
## Communication & Collaboration
| Tool | Purpose | Owner | URL |
|------|---------|-------|-----|
| GitHub Discussions | Technical RFCs, architecture proposals | Engineering | |
| GitHub Issues | Work tracking, bug reports | Product | |
| GitHub Wiki | Operational runbooks | DevOps | |
## Infrastructure
| Tool | Purpose | Owner | URL |
|------|---------|-------|-----|
| Gandi | DNS management | DevOps | https://gandi.net |
| Docker | Container builds | DevOps | https://docker.com |
## Monitoring & Analytics
| Tool | Purpose | Owner | URL |
|------|---------|-------|-----|
| Vercel Analytics | Frontend performance (Core Web Vitals) | Engineering | |
| SonarCloud | SAST, coverage tracking | Engineering | |
## Productivity
| Tool | Purpose | Owner | URL |
|------|---------|-------|-----|
| useMotion | Sprint planning, task management | Product | https://usemotion.com |
| MS 365 | Documents, presentations, stakeholder comms | All | |
> Update this register when tools are added or removed. Each tool should have a clear owner.
.claude/rules/Based on the languages detected in Step 1, check if the coding-standards plugin has matching rules:
ls ${CLAUDE_PLUGIN_ROOT}/rules/ 2>/dev/null
For each rule file that matches a detected language:
.claude/rules/{rule-name}.md already exists in the project.claude/rules/Check if the project root CLAUDE.md already has a "Coding Standards" section. If not, append the following:
## Coding Standards
### Active Standards
<!-- Updated by coding-standards bootstrap — list detected language standards -->
| Standard | Enforced By | Scope |
|----------|-------------|-------|
| Linting | CI (GitHub Actions) | All code |
| Formatting | CI + pre-commit hook | All code |
| Type checking | CI | TypeScript / Python (if applicable) |
| Code review | GitHub PR review | All changes |
| Static analysis | SonarCloud | All code |
### Code Review Process
1. Author creates PR with description and linked issue
2. CI runs all quality gates (lint, test, coverage, security)
3. Reviewer checks against coding standards
4. At least one approval required before merge
5. Author merges after approval and green CI
### SonarCloud Integration
- Quality gate runs on every PR
- Coverage threshold: project-specific (see SonarCloud config)
- No new critical or blocker issues allowed
- Technical debt ratio must not increase
### Available Review Skills
| Skill | Purpose |
|-------|---------|
| `/coding-standards:review-standards` | General code standards review |
| `/coding-standards:review-git` | Git commit and branching conventions |
| `/coding-standards:review-typescript` | TypeScript-specific review |
| `/coding-standards:review-python` | Python-specific review |
| `/coding-standards:review-dotnet` | .NET-specific review |
> Only use the review skills matching your project's languages.
If the section already exists, find and append any missing subsections.
After creating/merging all files, output a summary:
## Coding Standards Bootstrap Complete
### Files created
- `docs/tooling-register.md` — project tooling register
### Rules installed
- (list any rule files copied to .claude/rules/)
### CLAUDE.md updated
- Appended "Coding Standards" section to root CLAUDE.md
### Files merged
- (list any existing files where sections were appended)
### Detected languages
- (list detected languages/frameworks)
### Next steps
- Review and customise `docs/tooling-register.md` with project-specific tools
- Configure SonarCloud quality gates
- Use `/coding-standards:review-*` skills during code review
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub hpsgd/turtlestack --plugin coding-standards