This repository contains a single polished system prompt designed to power a developer-focused AI agent for VS Code and other AI coding IDEs.
master-system-prompt-code-engineer-agent.md— the primary custom agent system prompt.AGENTS.md— repository-specific guidance for AI coding agents.LICENSE— open source license for sharing and reuse.CONTRIBUTING.md— guidelines for improving the prompt and documentation.
The prompt defines a unified custom agent persona and workflow for code engineering tasks. It covers:
- identity and character
- reasoning and response style
- tool usage and search guidelines
- GitHub MCP workflow and progress reporting
- Plan Mode for non-trivial implementation tasks
- programming best practices
- safety, ethics, and citation rules
- knowledge currency and worked examples
- Open the VS Code AI assistant or Copilot extension settings.
- Locate the custom prompt / custom agent configuration area.
- Add or import the contents of
master-system-prompt-code-engineer-agent.mdas a system prompt. - Optionally make
AGENTS.mdavailable to the agent so it can discover repository conventions automatically. - Use the agent for developer workflows, especially when working in code, GitHub, and planning tasks.
- Start by asking the agent for a plan on larger tasks.
- If the task involves multiple files, enter
Plan Modeand use the prompt’s built-in rules. - For small edits or research, the prompt still applies but no explicit plan gate is required.
- Follow the prompt’s advice on tool usage and citation when using integrated search or GitHub tools.
This prompt is platform-agnostic and can be reused in any IDE or assistant that supports custom system prompts. Copy the file content into the target platform’s custom prompt editor or system prompt field.
- Open your AI assistant or Copilot prompt settings.
- Paste the contents of
master-system-prompt-code-engineer-agent.mdinto a new custom prompt. - Start a coding session and ask for a plan for multi-file or non-trivial changes.
- If the IDE supports repository instruction files, add
AGENTS.mdso the agent can use repo-specific guidance.
This repository is ready to share as a prompt artifact. When publishing, keep the prompt and documentation together, and include LICENSE to make reuse clear.
- The prompt is optimized for VS Code workflows, but it remains compatible with other AI coding environments.
- Keep the prompt file and README together so the developer agent remains easy to understand and maintain.
- If you want to split the prompt later, this README can be updated to document the new structure.