agentleFS
lkk989lkk989/Volt-Deep-Research/.github/copilot-instructions.md

Volt-Deep-Research

Copilot instructions16 starsChanged 9 months agoMITView on GitHub

  • Reads credentials

The file

We split this copilot-instructions.md into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    use your interface to call MCP tools, e.g.

    line 115
  2. Very specific:

    Use createTool() with Zod parameter validation

    line 127
  3. Very specific:

    Check context?.isActive for cancellation

    line 128
  4. Very specific:

    Use createInputGuardrail() and createOutputGuardrail()

    line 134

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

🤖 Mastervolt Deep Research - Copilot Instructions

🚀 Quick Start

  • 🧠 Read /memory-bank/memory-bank-instructions.md first
  • 🗂 Load ALL /memory-bank/*.md files before ANY task
  • ✅ Confirm with [Memory Bank: Active] or warn with [Memory Bank: Missing]
  • ✅ Update Memory Bank with new patterns, decisions, and progress after tasks
  • 🔄 Refresh activeContext.md and progress.md before starting new tasks
  • 📌 Always update activeContext.md and progress.md after tasks
  • 🔍 Use memory bank for research, patterns, and context before coding.
  • 📚 Refer to systemPatterns.md for architectural patterns and producttext.md for product vision.
  • 🛠 For new features, create spec in memory-bank/ before coding.
  • 🔒 Never commit sensitive info (API keys, credentials, .env)
  • 🧪 Write tests for all new tools and agents (Vitest + jsdom)
  • 📊 Target 95% coverage for critical paths

🔄 Workflow

  • 🚦 Use Kiro-Lite workflow: PRD → Design → Tasks → Code
  • 📝 On "/update memory bank", refresh activeContext.md & progress.md
  • 🏗️ For new features, create spec first in memory-bank/

🔒 Security & Code Quality

  • 🔐 Never commit API keys, .env, or credentials
  • ✅ Run npm run lint and npm test before committing
  • 🧪 Write tests for all new tools and agents (Vitest + jsdom)
  • 📊 Target 95% coverage for critical paths

🛠️ Development Tools

Research & Learning

  • 🔍 For research, use websearch or tavily tools
  • 📚 Use VoltAgent docs: voltagent_search_voltagent_docs, voltagent_get_voltagent_doc
  • 🧪 Use Mastra docs: mastraBeta_mastraDocs, mastraBeta_mastraExamples

Code Quality

  • 🤖 Check code for errors before writing new code
  • ✨ Run npm run prettier for formatting
  • 🔧 Use linter: npm run lint

📁 Project Structure

voltagent/               # Multi-agent backend
├── agents/             # 14+ specialized agents
├── tools/              # 28+ toolkits
└── config/             # Configuration modules

app/                    # Next.js 16 frontend
├── dashboard/          # Protected routes
    ├─── _components/     # Dashboard-specific components including AI-enabled ones
    ├─── chat/            # Chat interface page
    ├
    ├─── page.tsx          # Dashboard page
    ├─── layout.tsx        # Dashboard layout
    
└── api/                # API routes

lib/
├── Shared utilities and helpers

hooks/
├── Custom React hooks

components/ui/
├── Reusable UI components
components/ai-enabled/
├── AI-powered components (e.g. SearchBar, ReportViewer)

memory-bank/            # AI context memory
├── activeContext.md    # Current focus
├── progress.md         # Build status
└── *.md               # Context files

🎯 TypeScript Standards

  • ✅ Use strict TypeScript (enabled in tsconfig.json)
  • 📝 Use import type for types only
  • 🏷️ Use interface for object shapes, type for unions
  • 🚫 Never use any, use unknown instead
  • 📦 Use named exports (no defaults)

🧪 Testing

npm test                    # Run all tests
npm run test -- --coverage # With coverage
npx vitest run -t "pattern" # Specific tests

🔧 Available Commands

npm run dev          # VoltAgent dev server (watch mode)
npm run dev:next     # Next.js dev server
npm run dev:test     # Run both concurrently
npm run build:volt   # TypeScript compilation
npm run build:next   # Next.js build
npm start            # Production server
npm run lint         # ESLint
npm run prettier     # Format code

MCP Tools

  • use your interface to call MCP tools, e.g. websearch, tavily, voltagent_search_voltagent_docs, voltagent_get_voltagent_doc, mastraBeta_mastraDocs, mastraBeta_mastraExamples, `i

📋 Agent & Tool Development

Creating Agents

  • Use @voltagent/core patterns
  • Required: id, name, purpose, model, instructions
  • Configure memory with LibSQL adapter + Zod schema

Creating Tools

  • Use createTool() with Zod parameter validation
  • Check context?.isActive for cancellation
  • Log with voltlogger (trace, info, warn, error)
  • Group into toolkits (export as array)

Creating Guardrails

  • Use createInputGuardrail() and createOutputGuardrail()
  • Located in voltagent/config/guardrails.ts
  • Examples: topic validation, PII sanitization, output filtering

🔗 Key Resources


Last Updated: 2026-02-14 For full context, see /memory-bank/ files

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.