Skip to main content
ClaudeWave
Skill146 repo starsupdated 29d ago

new-feature

The new-feature skill orchestrates test-driven development workflows by sequentially spawning specialized agents to write tests, implement code against those tests, verify all tests pass, and optionally perform browser QA for UI features. Use this skill when developing new features where you want to ensure test coverage from the start and validate implementation against requirements before deployment.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/undeadlist/claude-code-agents /tmp/new-feature && cp -r /tmp/new-feature/skills/new-feature ~/.claude/skills/new-feature
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# New Feature Workflow

Build features using test-driven development. Provide the feature specification when invoking.

## Execution (Sequential)

### Step 1: Write Tests
Spawn `test-writer` with the feature requirements:
- Analyze feature specification
- Write failing tests first
- Cover happy path + edge cases

### Step 2: Implement Feature
Spawn `code-fixer` with the feature requirements and test files:
- Implement feature following existing patterns
- Make all new tests pass

### Step 3: Verify
Spawn `test-runner`:
- Run all tests (new + existing)
- Verify no regressions

### Step 4: Browser QA (if UI feature)
Spawn `browser-qa-agent`:
- Navigate to the new feature
- Test interactions
- Check for console errors

## Usage

Provide feature requirements when invoking:
```
/new-feature

Feature: User profile update endpoint
- PUT /api/users/:id
- Allow updating: name, email, avatar
- Require authentication
- Validate email format
- Return updated user
```

## Skip browser-qa for
- Pure API features (no UI)
- Library/utility code
- Database migrations
- Background jobs