code-standards-detective
π―Skillfrom anton-abyzov/specweave
Detects and enforces code quality standards, identifying potential violations of coding conventions, best practices, and project-specific guidelines across different files and programming languages.
Installation
npx skills add https://github.com/anton-abyzov/specweave --skill code-standards-detectiveSkill Details
Overview
# SpecWeave
The Enterprise Layer for AI Coding.
Permanent memory, GitHub/JIRA sync, quality gates, autonomous execution. Ship features while you sleep.
[](https://www.npmjs.com/package/specweave)
[](https://opensource.org/licenses/MIT)
[](https://github.com/anton-abyzov/specweave/actions/workflows/test.yml)
[](https://discord.gg/UYg4BGJ65V)
[](https://www.youtube.com/@antonabyzov)
```bash
npm install -g specweave # Requires Node.js 20.12.0+
```
---
Quick Demo
```bash
/sw:increment "User authentication"
/sw:auto # Ship while you sleep
```
What happens:
- AI creates spec + plan + tasks
- Executes autonomously for hours
- Tests, fixes failures, syncs to GitHub/JIRA
- You review finished work
```
[08:23:41] [Planning] Analyzing T-003: Implement refresh token rotation
[08:24:12] [Implementing] Writing src/auth/token-manager.ts
[08:25:33] [Testing] Running tests... FAILED
[08:25:47] [Fixing] Adjusting implementation...
[08:26:15] [Testing] Re-running... PASSED
[08:26:22] [Done] T-003 complete. Moving to T-004...
```
---
Why SpecWeave?
Every AI coding tool loses context when the chat ends. SpecWeave creates permanent documentation:
```
.specweave/increments/0001-oauth/
βββ spec.md <- WHAT: User stories, acceptance criteria
βββ plan.md <- HOW: Architecture decisions, tech choices
βββ tasks.md <- DO: Implementation tasks with tests
```
After 6 months: Search "OAuth" β find exact decisions, who approved, why it was built that way.
---
Key Differentiators
Lazy Plugin Loading (99% Token Savings)
SpecWeave loads plugins on-demand based on your prompt keywords:
| Scenario | Without Lazy Loading | With Lazy Loading |
|----------|---------------------|-------------------|
| Non-SpecWeave work | ~60k tokens | ~500 tokens |
| SpecWeave work | ~60k tokens | ~60k (when needed) |
Say "React frontend" β frontend plugin loads. Say "Kubernetes deploy" β k8s plugin loads. No manual configuration.
Self-Improving Skills
SpecWeave learns from corrections. When you fix something, it captures the learning:
```markdown
Skill Memories
- Always use
vi.hoisted()for ESM mocking in Vitest 4.x+ - Prefer native
fsover fs-extra in new code
```
Next time, it won't make the same mistake.
Structured Documentation (No Root Bloat)
Everything stays organized in .specweave/:
```
.specweave/
βββ increments/####-name/ # Feature specs + tasks
βββ docs/internal/ # Living documentation
β βββ architecture/adr/ # Architecture Decision Records
β βββ specs/ # Feature specifications
βββ config.json # Project configuration
```
Your project root stays clean. No scattered markdown files.
15+ AI Agents Working Together
| Agent | Role |
|-------|------|
| PM | Requirements, user stories, acceptance criteria |
| Architect | System design, ADRs, tech decisions |
| QA Lead | Test strategy, quality gates |
| Security | OWASP review, vulnerability scanning |
| DevOps | CI/CD, infrastructure, deployment |
Agents auto-activate based on context. Mention "security" β security expertise loads.
---
Install
Prerequisites
Node.js 20.12.0+ required (recommend Node.js 22 LTS).
```bash
node --version # Check version
```
> Getting SyntaxError: Unexpected token 'with'? Your Node.js is too old. [Upgrade instructions β](https://spec-weave.com/docs/guides/troubleshooting/common-err
More from this repository10
Generates and refines technical documentation, ensuring clarity, consistency, and professional quality across project specifications, plans, and task descriptions.
Synchronizes Jira issues across projects, automating ticket tracking, status updates, and cross-team workflow alignment
Generates comprehensive test strategies and plans by analyzing code structure, potential edge cases, and risk areas to optimize test coverage and quality.
Automates Kafka infrastructure deployment, configuration management, and operational tasks using DevOps best practices and infrastructure-as-code principles.
Maps and synchronizes work items across multiple Azure DevOps projects, enabling cross-project tracking and alignment of tasks and requirements.
Streamlines mobile app debugging by providing diagnostic tools, performance profiling, and network inspection across iOS and Android platforms
Evaluates and enhances code quality by incrementally analyzing software artifacts with advanced judging metrics and improvement recommendations.
Manages quality assurance processes by autonomously reviewing code changes, running comprehensive tests, and identifying potential issues before merging or deployment.
Calculates and compares cloud service pricing across different providers to help optimize infrastructure costs and budget planning.
Validates and enforces coding standards across projects, detecting style violations, potential bugs, and maintaining consistent code quality