C

Comprehensive Developer Module

Streamline your workflow with this analyzes, your, recent, claude. Includes structured workflows, validation checks, and reusable patterns for development.

SkillClipticsdevelopmentv1.0.0MIT
0 views0 copies

Developer Productivity Skill

A Claude Code skill for accelerating development workflows — covering project scaffolding, code generation, debugging strategies, testing patterns, and developer tooling configuration for modern full-stack development.

When to Use This Skill

Choose this skill when:

  • Setting up a new development project from scratch
  • Configuring development tools (linters, formatters, debuggers)
  • Establishing development workflows and conventions
  • Debugging complex issues across the full stack
  • Generating boilerplate code from templates and patterns
  • Optimizing development environment for productivity

Consider alternatives when:

  • You need deployment procedures (use a deployment skill)
  • You need database design specifically (use a database skill)
  • You need framework-specific guidance (use a React/Next.js/Express skill)

Quick Start

# Add to your Claude Code project claude mcp add developer-toolkit # Set up a full development environment claude "set up a TypeScript Node.js project with ESLint, Prettier, and Jest" # Generate project scaffolding claude "scaffold a REST API with authentication, CRUD operations, and tests"
// .vscode/settings.json - Optimized developer settings { "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, "typescript.preferences.importModuleSpecifier": "non-relative", "editor.suggestSelection": "first", "files.exclude": { "node_modules": true, ".next": true, "dist": true } }

Core Concepts

Development Workflow

PhaseToolsOutput
ScaffoldProject generator, templatesProject structure with config
DevelopHot reload, TypeScript, lintingWorking code with type safety
DebugSource maps, debugger, loggingRoot cause identification
TestJest, Vitest, PlaywrightVerified correctness
ReviewESLint, Prettier, git hooksClean, consistent code
BuildBundler, compiler, optimizerProduction artifacts

Debugging Strategy

// 1. Reproduce: Create a minimal failing case const result = processOrder({ items: [], userId: null }); // Expected: Error, Got: undefined // 2. Isolate: Binary search through the call stack console.log('Before validation:', input); const validated = validateOrder(input); // <-- Problem is here console.log('After validation:', validated); // 3. Fix: Address root cause, not symptoms function validateOrder(order: Order) { if (!order.userId) { throw new ValidationError('userId is required'); // Guard clause } if (order.items.length === 0) { throw new ValidationError('Order must have at least one item'); } return order; } // 4. Verify: Add a test to prevent regression test('rejects order without userId', () => { expect(() => validateOrder({ items: [], userId: null })) .toThrow('userId is required'); });

Project Structure Pattern

project/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ config/          # Environment and app config
│   ā”œā”€ā”€ controllers/     # Request handlers
│   ā”œā”€ā”€ services/        # Business logic
│   ā”œā”€ā”€ models/          # Data models and types
│   ā”œā”€ā”€ middleware/       # Express/Koa middleware
│   ā”œā”€ā”€ utils/           # Shared utility functions
│   └── index.ts         # App entry point
ā”œā”€ā”€ tests/
│   ā”œā”€ā”€ unit/            # Unit tests mirror src/ structure
│   ā”œā”€ā”€ integration/     # API and database tests
│   └── fixtures/        # Test data and mocks
ā”œā”€ā”€ scripts/             # Build, deploy, seed scripts
ā”œā”€ā”€ .eslintrc.js         # Linting configuration
ā”œā”€ā”€ .prettierrc          # Formatting configuration
ā”œā”€ā”€ tsconfig.json        # TypeScript configuration
└── jest.config.ts       # Test configuration

Configuration

ParameterTypeDefaultDescription
languagestring"typescript"Primary language: typescript, javascript, python
runtimestring"node"Runtime environment: node, deno, bun, browser
frameworkstring"express"Web framework: express, fastify, hono, koa
test_frameworkstring"vitest"Testing: vitest, jest, mocha
linterstring"eslint"Linting: eslint, biome
formatterstring"prettier"Formatting: prettier, biome
package_managerstring"npm"Package manager: npm, pnpm, yarn, bun

Best Practices

  1. Configure linting and formatting before writing code — set up ESLint and Prettier (or Biome) on day one with a pre-commit hook; fixing formatting after 10,000 lines of code creates massive diffs.

  2. Use TypeScript strict mode from the start — enable strict: true in tsconfig.json; adding strict mode to an existing project requires fixing hundreds of type errors, but starting strict costs nothing.

  3. Write tests alongside implementation, not after — tests written after the code tend to test the implementation rather than the behavior; concurrent development catches more bugs.

  4. Debug systematically, not randomly — follow reproduce → isolate → hypothesize → verify → fix; adding random console.log statements wastes time compared to structured debugging.

  5. Automate repetitive tasks with scripts — if you run the same commands more than three times, put them in a script in the scripts/ directory or package.json scripts section.

Common Issues

TypeScript compilation is slow — Use tsc --incremental for faster rebuilds and ts-node --transpileOnly for development. Enable skipLibCheck: true in tsconfig to skip type-checking node_modules.

ESLint and Prettier conflict on formatting rules — Install eslint-config-prettier to disable ESLint's formatting rules and let Prettier handle formatting exclusively. This eliminates all conflicts between the two tools.

Hot reload doesn't detect file changes — This usually happens on Linux or inside Docker containers. Increase the file watcher limit (fs.inotify.max_user_watches) or switch to polling mode in your dev server configuration.

Community

Reviews

Write a review

No reviews yet. Be the first to review this template!

Similar Templates