/sdlc:setup runs instead · from sdlc
Guides users through initializing new projects that comply with SDLC standards, including repository setup, required files, build configuration, CI pipelines, and quality tooling.
This skill never runs in Claude Code
It ships in sdlc at skills/, but /sdlc:setup (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Guidance for initializing new projects that comply with all SDLC requirements from the start.
Available Tools: If using Claude Code with the sdlc plugin, run
/sdlc:initto bootstrap a compliant project structure. The/sdlc:checkcommand validates existing projects.
New projects MUST complete these setup steps:
| Order | Step | Purpose |
|---|---|---|
| 1 | Create repository | Initialize Git with main branch |
| 2 | Add standard files | LICENSE, README, etc. |
| 3 | Configure build system | Makefile with standard targets |
| 4 | Set up CI pipeline | GitHub Actions workflow |
| 5 | Configure quality tools | Formatter, linter, etc. |
| 6 | Add security scanning | Dependency audit, secrets scan |
| 7 | Create documentation | README, CONTRIBUTING, etc. |
# Initialize repository
git init
git branch -M main
# Create standard directory structure
mkdir -p src tests docs .github/workflows
# Initialize with empty commit
git commit --allow-empty -m "chore: initialize repository"
Every project MUST include:
| File | Purpose | Template |
|---|---|---|
README.md | Project overview | See docs skill |
LICENSE | License terms | MIT, Apache-2.0, etc. |
CONTRIBUTING.md | Contributor guide | See docs skill |
CHANGELOG.md | Version history | Keep a Changelog |
SECURITY.md | Security policy | See security skill |
.gitignore | Git exclusions | Language-specific |
.gitattributes | Git attributes | See vcs skill |
Makefile | Build commands | See build skill |
Projects MUST include appropriate configuration:
| Category | Files |
|---|---|
| Build | Makefile, Cargo.toml/package.json/etc. |
| Formatting | rustfmt.toml/.prettierrc/etc. |
| Linting | clippy.toml/eslint.config.js/etc. |
| CI | .github/workflows/ci.yml |
| Editor | .editorconfig |
Projects MUST include .editorconfig:
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
[*.{rs,ts,js,py,java,go}]
indent_style = space
indent_size = 4
[*.{yml,yaml,json}]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab
Create Makefile with standard targets:
.PHONY: all build test lint format clean
all: build test
build:
# Language-specific build command
test:
# Run test suite
lint:
# Run linter
format:
# Format code
format-check:
# Check formatting without changes
clean:
# Clean build artifacts
cargo init
# Add to Cargo.toml:
# [lints.clippy]
# all = "warn"
# pedantic = "warn"
touch rustfmt.toml clippy.toml
npm init -y
npm install -D typescript eslint prettier
npx tsc --init
python -m venv .venv
pip install ruff pytest
# Create pyproject.toml with ruff config
# Maven
mvn archetype:generate -DgroupId=com.example -DartifactId=project
# Gradle
gradle init --type java-application
Create .github/workflows/ci.yml:
name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: make build
- name: Test
run: make test
- name: Lint
run: make lint
Configure branch protection for main:
Install pre-commit:
pip install pre-commit
pre-commit install
Create .pre-commit-config.yaml:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
Enable GitHub secret scanning or configure gitleaks:
# .gitleaks.toml
[extend]
useDefault = true
Configure automated dependency scanning based on language.
Create README.md with required sections:
Set up Architecture Decision Records:
mkdir -p docs/adrs
touch docs/adrs/README.md
.gitignore.gitattributesREADME.mdLICENSECONTRIBUTING.mdCHANGELOG.mdSECURITY.md.editorconfigMakefile with standard targetsmake all worksmake lint and make format work# Verify required files exist
for f in README.md LICENSE CONTRIBUTING.md CHANGELOG.md SECURITY.md .gitignore .gitattributes Makefile .editorconfig; do
[ -f "$f" ] && echo "✓ $f" || echo "✗ $f missing"
done
# Verify CI workflow exists
ls .github/workflows/ci.yml
# Verify Makefile targets
make -n build test lint format
# Run initial compliance check
make lint && make test
references/setup-guide.md - Detailed setup walkthroughreferences/toolchain-versions.md - Recommended tool versionsexamples/project-rust/ - Complete Rust project templateexamples/project-typescript/ - Complete TypeScript templateexamples/project-python/ - Complete Python templateWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (zircote-plugins/sdlc-quality) — no native marketplace selected
npx claudepluginhub p/zircote-sdlc10 skills in this plugin
/aiThis skill should be used when the user asks about "AI development", "AI coding", "AI assistant", "CLAUDE.md", "AI context", "AI guidelines", "code generation", "AI workflow", "AI review", "AI configuration", or needs guidance on configuring AI assistants and AI-assisted development workflows./ciThis skill should be used when the user asks about "CI pipeline", "continuous integration", "GitHub Actions", "CI configuration", "CI jobs", "workflow", "CI caching", "CI environment", "pipeline structure", or needs guidance on setting up or configuring CI/CD pipelines./docsThis skill should be used when the user asks about "documentation", "README", "CHANGELOG", "CONTRIBUTING", "ADR", "architecture decision record", "changelog format", "keep a changelog", "doc comments", "API documentation", or needs guidance on project documentation requirements./observabilityThis skill should be used when the user asks about "observability", "logging", "metrics", "tracing", "monitoring", "structured logging", "log format", "log levels", "distributed tracing", "OpenTelemetry", "health checks", or needs guidance on implementing observability and monitoring requirements./qualityThis skill should be used when the user asks about "code quality", "formatting", "linting", "lint rules", "code style", "error handling", "unsafe code", "documentation comments", "doc comments", "rustfmt", "prettier", "eslint", "clippy", or needs guidance on code quality enforcement and configuration./releaseThis skill should be used when the user asks about "release process", "versioning", "semantic versioning", "semver", "release automation", "publishing", "package publishing", "release checklist", "version bump", "release notes", or needs guidance on release workflows and version management.Other plugins' skills for the same job