---
title: "Feature Implementation Prompt"
description: "Structured prompt for implementing new features with Claude Code"
type: "prompt"
category: "atomic"
tags: ["claude-code", "prompt", "feature"]
url: "https://theglitch.ai/academy/prompts/feature-implementation"
---

# Feature Implementation Prompt

Structured prompt for implementing new features with Claude Code

## The Prompt

```
Implement [feature description].

Requirements:
- [Specific requirement 1]
- [Specific requirement 2]
- [Specific requirement 3]

Technical constraints:
- [Constraint 1]
- [Constraint 2]

Put [component type] in [location].
Follow patterns in [reference file].

When done, run tests and lint.
```


# Feature Implementation Prompt

```
Implement [feature description].

Requirements:
- [Specific requirement 1]
- [Specific requirement 2]
- [Specific requirement 3]

Technical constraints:
- [Constraint 1]
- [Constraint 2]

Put [component type] in [location].
Follow patterns in [reference file].

When done, run tests and lint.
```

---

**Example:**

```
Implement user authentication with email/password.

Requirements:
- Login and signup forms
- Session management with JWT
- Password hashing with bcrypt
- Form validation with inline errors

Technical constraints:
- Use existing database schema
- Follow current API route patterns
- No external auth providers

Put components in /src/components/auth/
Put API routes in /app/api/auth/
Follow patterns in /src/components/forms/ContactForm.tsx

When done, run tests and lint.
```

---

**Why it works:** Specific outcomes, clear constraints, explicit locations.

