Overview
Blink lets you build an agent that acts as a feature developer. This type of agent can explore your codebase, understand your patterns, write code in your style, add tests, and create pull requests. It’s designed to help you ship small, well-scoped features faster. This page shows you what’s possible and provides prompts you can use in Edit Mode to build your own feature development agent.Getting started
- Create a new agent directory and run
blink init - Start the dev server with
blink dev - Press
Ctrl+Tto toggle to Edit Mode - Describe your feature development agent using the ideas below
What you can build
Here are examples of what you can ask your feature development agent to do once you’ve built it. These show the end result: scroll down to see how to build an agent that can handle these requests.Implement a complete feature with tests
Implement a complete feature with tests
Add a new API endpoint with validation
Add a new API endpoint with validation
Build a reusable component
Build a reusable component
Refactor and improve existing code
Refactor and improve existing code
Debug and fix a production issue
Debug and fix a production issue
Migrate code to a new pattern
Migrate code to a new pattern
Generate comprehensive tests
Generate comprehensive tests
Building your feature development agent
Switch to Edit Mode (Ctrl+T) and use these prompts to build your agent. Copy and customize them based on what you want your agent to do.
Make it understand your codebase patterns
Make it write code incrementally
Make it generate tests automatically
Make it create descriptive pull requests
Make it follow your code style
Make it handle errors gracefully
Make it iterate based on feedback
Make it work with existing tools
Make it document as it goes
Make it scope work appropriately
How it works behind the scenes
When you use the prompts above, Edit Mode automatically implements the right tools for your agent. You don’t need to code anything; just describe what you want. Common tools include:- File reading and writing - Access and modify code files
- Git operations - Create branches, commits, and pull requests
- Bash execution - Run tests, linters, and build commands
- Web search - Research libraries, frameworks, and best practices
- Code analysis - Understand existing patterns and dependencies
Iterating on your agent
As you test, you’ll discover what works and what needs adjustment. Use these Edit Mode prompts to refine your agent’s behavior:If code doesn't match your style
If code doesn't match your style
If implementations are too complex
If implementations are too complex
If tests are insufficient
If tests are insufficient
If PRs are too large
If PRs are too large
If the agent breaks existing code
If the agent breaks existing code
Advanced capabilities
Once your basic agent works well, consider these enhancements:Integrate with your CI/CD pipeline
Integrate with your CI/CD pipeline
Learn from code review feedback
Learn from code review feedback
Generate visual diffs for UI changes
Generate visual diffs for UI changes
Estimate implementation time
Estimate implementation time
Maintain a decision log
Maintain a decision log
Tips for success
When you’re building:- Start with basic code generation matching your style
- Add test generation early so it becomes a habit
- Give the agent access to your codebase to learn patterns
- Test on small features before trying large ones
- Connect to GitHub for automated PR creation
- Integrate with CI/CD to catch issues early
- Add visual testing for UI components
- Build in memory to learn from code reviews