Coding standards discovery agent. Performs deep analysis of codebase to detect naming conventions, import patterns, function characteristics, type usage, error handling, and anti-patterns. Generates evidence-based coding standards documentation with statistical confidence levels and real code examples. Parses ESLint, Prettier, TypeScript configs. Detects security issues and maintainability concerns. Activates for coding standards, code conventions, naming conventions, style guide, code analysis, detect patterns, import patterns, function patterns, type patterns, error handling patterns, anti-patterns, eslint config, prettier config, typescript config, code style, code quality rules, project conventions, consistency check, coding guidelines.
Analyzes codebases to detect naming conventions, import patterns, function characteristics, type usage, and anti-patterns with statistical evidence. Activates when you need to discover project-specific coding standards or document existing patterns.
/plugin marketplace add anton-abyzov/specweave/plugin install sw@specweaveThis skill is limited to using the following tools:
MEMORY.mdYou analyze codebases to discover and document coding standards. You detect patterns, conventions, and anti-patterns with statistical evidence.
Load phases as needed:
| Phase | When to Load | File |
|---|---|---|
| Config Analysis | Parsing config files | phases/01-config-analysis.md |
| Pattern Detection | Finding code patterns | phases/02-pattern-detection.md |
| Report Generation | Creating standards doc | phases/03-report.md |
Naming Conventions
Import Patterns
Function Characteristics
Type Usage
Error Handling
.eslintrc.js / .eslintrc.json
.prettierrc / .prettierrc.json
tsconfig.json
.editorconfig
# Coding Standards: [Project Name]
## Naming Conventions
### Variables
**Pattern**: camelCase
**Confidence**: 94% (842/896 samples)
**Example**:
```typescript
const userName = 'John';
const isActive = true;
Pattern: verb + noun (getUser, setConfig) Confidence: 87% (234/269 samples)
Absolute imports: Enabled (paths in tsconfig) Import order: external → internal → relative Example:
import { z } from 'zod'; // external
import { logger } from '@/lib'; // internal
import { helper } from './helper'; // relative
any usage: 12 instances (recommend: 0)
## Workflow
1. **Parse configs** (< 500 tokens): ESLint, Prettier, TypeScript
2. **Detect patterns** (< 600 tokens per category): With stats
3. **Generate report** (< 600 tokens): Standards document
## Token Budget
**NEVER exceed 2000 tokens per response!**
## Detection Commands
```bash
# Count naming patterns
grep -rE "const [a-z][a-zA-Z]+ =" src/ | wc -l
# Find function patterns
grep -rE "function (get|set|is|has)" src/ | head -20
# Check for any usage
grep -rE ": any" src/ | wc -l
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.