code-quality
This skill should be used when implementing code quality standards, setting up linting/testing/security scans, enforcing coverage thresholds, or establishing…
Skill by saitarrun
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/saitarrun-code-quality
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, devops, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-quality
What's inside
- Skill name
code-quality- Description
- This skill should be used when implementing code quality standards, setting up linting/testing/security scans, enforcing coverage thresholds, or establishing CI/CD guardrails.
- License
- Apache-2.0
- Instructions
- 477 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (8)
- CHECKLIST.md
- SKILL.md
- .eslintrc.js · config-templates/
- .husky-pre-commit.sh · config-templates/
- README.md · config-templates/
- github-actions-ci.yml · config-templates/
- jest.config.js · config-templates/
- package.json.scripts · config-templates/
SKILL.md (first lines)
# Skill: Code Quality Standards & Metrics
## Overview
Code quality is the cornerstone of maintainable, secure, and performant software. This skill provides a comprehensive framework for enforcing quality across five dimensions: static analysis, testing, architecture, security, and CI/CD automation.
## 1. Static Code Quality & Standards
### Linting & Style Enforcement
**What**: Enforce language-specific style guides with automated tools
- **JavaScript/TypeScript**: ESLint + Prettier
- **Python**: Pylint + Black + isort
- **Go**: golangci-lint + gofmt
- **Java**: Checkstyle + Spotless
**Why**: Consistent code style reduces cognitive load, prevents merge conflicts, and catches common mistakes early.
**How to Enforce**:
```yaml
# .eslintrc.js or similar
extends: ['recommended', 'prettier']
rules:
no-console: warn
no-unused-vars: error
max-lines: [warn, { max: 300 }]
```
Configure pre-commit hook:
```bash
husky install
npx husky add .husky/pre-commit "npm run lint:fix"
```
### Naming Conventions
**Standard Patterns**:
- **Variables/functions**: camelCase (JavaScript, Python, Java)
- **Classes**: PascalCase
- **Constants**: SCREAMING_SNAKE_CASE
- **Files**: lowercase with hyphens (components) or snake_case (modules)
- **Avoid**: Single-letter vars (except loop counters), cryptic abbreviations, `data`, `temp`, `info`, `obj`
**Example Violations**:
```javascript
// ❌ Bad
const d = new Date();
const temp = calculateTotal(items);
function x() { return 42; }
// ✓ Good
const currentDate = new Date();
const cartTotal = calculateTotal(items);
function getUserAge() { return 42; }
```
### Complexity Control
**Cyclomatic Complexity Limits**:
- Functions: max 10 branches (if/else, loops, switches)
- Classes: max 50 methods
- Files: max 300 lines
**Tools**: SonarQube, eslint-plugin-complexity, radon (Python)
**How to Measure**:
```bash
# JavaScript
npx eslint --max-warnings 0 --ext .js,.ts src/
# Python
radon cc -n C your_code.py # Show functions with complexity > C
```
### DRY Principle (Don't Repeat Yourself)
**Red Flags**:
- Copy-pasted code blocks (3+ identical/similar lines)
- Duplicated business logic across files
- Similar patterns in schema definitions
**How to Detect**:
```bash
# Find duplicated code blocks
npx jscpd --threshold 0.1 src/
# Clone detection with git
git diff --stat HEAD~10
```
**Refactoring Patterns**:
- Extract repeated logic into utility functions
- Use mixins, inheritance, or composition for shared behavior
- Consolidate config duplicates into a single source of truth
## 2. Testing & Coverage Rules
### Testing Pyramid
```
▲
/E2E\ 10% (expensive, slow)
/─────\ 1-2 tests per critical flow
/Integration\ 20% (medium cost)
/─────────────\ 10-20 tests per service
/Unit Tests─────\70% (cheap, fast)
/─────────────────\Hundreds of tests
```
**Unit Tests** (70%):
- Isolated logic, mocked dependencies
- Run in <100ms
- Fast feedback loop
- Test error cases, boundary conditions
**Integration Tests** (20%):
- Real database/external dependencies
- Run in <1s per test
- Validate module interactionsFrom saitarrun/Devforge-ai, Apache-2.0.
More from saitarrun/Devforge-ai
- 0.566score
codebase-navigator
saitarrun
Deep structural codebase comprehension, AST dependency graph traversal, symbol caller/callee tracing, and monorepo navigation strategies for massive codebases.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
enterprise-test-suites
saitarrun
Comprehensive testing matrix spanning Unit, Integration, E2E (Playwright), Contract (Pact), Chaos/Fault-Injection, Mutation, Load/Stress (k6), and Security…
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
enterprise-architecture
saitarrun
Enterprise architecture patterns, multi-tenancy isolation, disaster recovery (RTO/RPO), data residency, and audit logging standards.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
dynamic-routing
saitarrun
Autonomous intent detection, dynamic agent spawning, capability-flag auto-resolution, and contextual skill injection based on task requirements.
SkillBFreshness: B★ 4Claude Code +9 - 0.563score
contract-testing
saitarrun
Consumer-driven contract testing, OpenAPI spec drift validation, and breaking API change detection for microservices.
SkillBFreshness: B★ 4Claude Code +9 - 0.519score
api-design
saitarrun
REST/gRPC API design, versioning strategies, error codes, request/response contracts, backward compatibility, rate limiting, OpenAPI specifications.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
configuration-management
saitarrun
Secrets management, environment-specific configs, safe defaults, feature flags, configuration-as-code, compliance and audit trails.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
dependency-management
saitarrun
Version updates (major/minor/patch), security patch application, transitive dependency resolution, monorepo dependency management, deprecation tracking…
SkillCFreshness: C★ 4Claude Code +9 - 0.494score
grill-me
saitarrun
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 4Claude Code +9 - 0.494score
architecture
saitarrun
This skill should be used when the user asks to "design a system", "architecture", "ADR", "system design", "tech stack", "choose between approaches"…
SkillCFreshness: C★ 4Claude Code +9 - 0.493score
code-standards
saitarrun
This skill should be used when the user mentions keywords related to code-standards.
SkillCFreshness: C★ 4Claude Code +9 - 0.493score
code-review
saitarrun
This skill should be used when the user mentions keywords related to code-review.
SkillCFreshness: C★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 20, 2026 (4 months ago)
- Last release
- Jun 21, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/saitarrun/Devforge-ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from saitarrun
- 0.566score
codebase-navigator
saitarrun
Deep structural codebase comprehension, AST dependency graph traversal, symbol caller/callee tracing, and monorepo navigation strategies for massive codebases.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
enterprise-architecture
saitarrun
Enterprise architecture patterns, multi-tenancy isolation, disaster recovery (RTO/RPO), data residency, and audit logging standards.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
dynamic-routing
saitarrun
Autonomous intent detection, dynamic agent spawning, capability-flag auto-resolution, and contextual skill injection based on task requirements.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
enterprise-test-suites
saitarrun
Comprehensive testing matrix spanning Unit, Integration, E2E (Playwright), Contract (Pact), Chaos/Fault-Injection, Mutation, Load/Stress (k6), and Security…
SkillBFreshness: B★ 4Claude Code +9 - 0.563score
contract-testing
saitarrun
Consumer-driven contract testing, OpenAPI spec drift validation, and breaking API change detection for microservices.
SkillBFreshness: B★ 4Claude Code +9 - 0.524score
skill-accessibility
saitarrun
WCAG 2.1 AA compliance, keyboard navigation, screen reader testing, semantic HTML, ARIA labels, color contrast, assistive technology validation.
SkillCFreshness: C★ 5Claude Code +9
Cite this page
code-quality skill. Agent Mart. https://agentmart.dev/skills/saitarrun-code-quality (last updated 2026-10-24)