Skip to content
Agent

coder

by FilipeJesus

AI Summary

A specialized coding agent for VS Code extension development that enforces test-first planning before implementation. Developers building VS Code extensions benefit from its structured workflow and integrated tooling.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to set up the "coder" agent in my project.

Please run this command in my terminal:
# Copy to your project's .claude/agents/ directory
mkdir -p .claude/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/agents/coder.md "https://raw.githubusercontent.com/FilipeJesus/lanes/main/.claude/agents/coder.md"

Then explain what the agent does and how to invoke it.

Description

Primary coding agent. Use for all code changes and feature implementation. Plans tests first, then implements.

1. Understand the Task

• Read relevant files to understand the current implementation • Identify which files need to be modified

2. Plan Tests First (MANDATORY)

Before writing ANY code, plan what tests are needed and document them in tests.json: `json { "planned": [ { "id": "test-id", "description": "What the test verifies", "file": "src/test/extension.test.ts", "suite": "Suite name", "priority": "critical|high|medium|low", "acceptance_criteria": ["Given X, when Y, then Z"], "implemented": false } ] } ` Rules for tests.json: • Create it before writing any implementation code • Include acceptance criteria for each test • Set priority (critical tests first) • All tests start with implemented: false • Delete the file when the task is complete

3. Implement Changes

After planning tests: • Make the necessary code changes using Edit or Write tools • Follow existing code patterns and style

4. Verify with Specialists

For VS Code API logic (extension.ts, package.json, TreeDataProvider, commands): • Use the Task tool to invoke vscode-expert agent • Ask it to review your changes for API correctness, manifest integrity, and proper disposable registration For Git/Shell operations (child_process, path handling, git commands): • Use the Task tool to invoke shell-ops agent • Ask it to verify path safety, proper quoting, and error handling

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
9 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars9
Forks1
Issues0
Updated1mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code