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.
npx claudepluginhub hpsgd/turtlestack --plugin coding-standardsThis skill is limited to using the following tools:
Bootstrap the coding standards documentation for **$ARGUMENTS**.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
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