/sdlc:qualityfrom sdlc
Guides code quality enforcement with formatting, linting, error handling, and documentation standards across multiple languages.
Ships in sdlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guidance for implementing code quality requirements including formatting, linting, error handling, and documentation.
Available Tools: If using Claude Code, the
pr-review-toolkit:code-revieweragent can assess code quality against these standards. Use/pr-review-toolkit:review-prfor comprehensive PR review.
| Standard | Requirement |
|---|---|
| Line length | MUST be 100 characters maximum |
| Indentation | MUST be consistent (spaces or tabs, not mixed) |
| Line endings | MUST be Unix-style (LF) |
| Trailing whitespace | MUST be removed |
| Final newline | MUST be present |
| Language | Tool | Config File |
|---|---|---|
| Rust | rustfmt | rustfmt.toml |
| TypeScript/JS | Prettier | .prettierrc |
| Python | Black/Ruff | pyproject.toml |
| Java | google-java-format | .editorconfig |
| Go | gofmt | (built-in) |
| Category | Enforcement |
|---|---|
| Correctness | MUST be enabled |
| Performance | MUST be enabled |
| Style | SHOULD be enabled |
| Complexity | SHOULD be enabled |
| Documentation | SHOULD be enabled |
| Pedantic | SHOULD be enabled |
| Nursery/Experimental | MAY be enabled |
| Language | Tool | Config File |
|---|---|---|
| Rust | Clippy | clippy.toml, Cargo.toml |
| TypeScript | ESLint | eslint.config.js |
| Python | Ruff | pyproject.toml |
| Java | SpotBugs, PMD | spotbugs.xml, pmd.xml |
| Go | golangci-lint | .golangci.yml |
When disabling a lint rule, document the justification:
// Rust
#[allow(clippy::too_many_arguments)]
// Justification: This function wraps an external API that requires these parameters
fn external_api_wrapper(...) {}
// TypeScript
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// Justification: Third-party library returns untyped data
const data: any = externalLib.getData();
Library code MUST NOT:
All error conditions MUST be handled via structured error types or result types:
| Language | Pattern |
|---|---|
| Rust | Result<T, E>, Option<T> |
| TypeScript | Result type, explicit error returns |
| Python | Custom exceptions, explicit raises |
| Java | Checked exceptions, Optional<T> |
| Go | Multiple return values (T, error) |
Test code and CLI entry points MAY use simplified error handling where appropriate (e.g., .unwrap() in tests, panic! at CLI boundaries).
Unsafe code blocks MUST be minimized.
All unsafe code MUST be:
Projects MUST enable compiler/linter warnings for unsafe code usage:
// Rust - in Cargo.toml or lib.rs
#![warn(unsafe_code)]
All public APIs MUST have documentation comments including:
Documentation SHOULD include:
Documentation MUST be validated as part of CI:
# Verify formatting passes
make format-check
# Verify linting passes (strict)
make lint-strict
# Check for unsafe code (Rust example)
grep -r "unsafe" src/ --include="*.rs"
# Verify doc coverage (language-specific)
cargo doc --no-deps # Rust
references/linter-configs.md - Comprehensive linter configurationsreferences/error-patterns.md - Error handling patterns by languageexamples/clippy.toml - Rust Clippy configurationexamples/eslint.config.js - TypeScript ESLint configurationexamples/pyproject-ruff.toml - Python Ruff configurationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 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.Generated from the plugin's indexed repository (zircote-plugins/sdlc-quality) — no native marketplace selected
npx claudepluginhub p/zircote-sdlcOther plugins' skills for the same job