Skip to main content

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

  1. Create a new agent directory and run blink init
  2. Start the dev server with blink dev
  3. Press Ctrl+T to toggle to Edit Mode
  4. 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.

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.
You don’t need to use all of these prompts. Start with 2-3 that match your needs, test the agent, then add more capabilities as needed.

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
Edit Mode handles all the technical implementation. Your job is to describe how the agent should write code and interact with your development workflow.

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:

Advanced capabilities

Once your basic agent works well, consider these enhancements:

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
When you’re ready to scale:
  • 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
Focus on getting code quality and style consistency right first. You can always add sophistication like CI integration or visual diffs later.