This document provides a high-level overview of Qoder, the repository's most extensively documented AI assistant system with an importance score of 284.89 (compared to 11.89 for the second-ranked system). Qoder is an agentic AI coding assistant integrated with an IDE, operating in two distinct modes: Design Mode for generating technical documentation and Action Mode for autonomous coding tasks.
For detailed information about specific subsystems, see:
Sources: README.md1-124 Qoder/prompt.txt1-10
Qoder identifies itself as a "powerful AI coding assistant, integrated with a fantastic agentic IDE to work both independently and collaboratively with a USER" operating as a pair programmer. The system explicitly refuses to disclose its underlying language model and avoids comparisons with other AI assistants.
Key Identity Constraints:
Operational Context:
b:\Download\qoder).qoder/quests/ directory for design documents`symbolName`)Sources: Qoder/prompt.txt1-20 Qoder/Quest Design.txt3-33 Qoder/Quest Action.txt1-20
Qoder operates in two fundamentally different modes, each with distinct system prompts, workflows, and tool access patterns:
| Aspect | Design Mode | Action Mode |
|---|---|---|
| Primary File | Quest Design.txt | Quest Action.txt |
| Purpose | Generate high-level design documentation | Autonomous code implementation |
| Output Location | .qoder/quests/{designFileName}.md | Codebase files |
| User Interaction | Iterative refinement with user feedback | Background agent (minimal interaction) |
| Workflow | Intent → Repository Analysis → Write → Refine → Feedback | Context → Plan → Implement → Validate |
| Task Management | Optional (design-focused) | add_tasks/update_tasks for complex tasks |
| Validation | Document quality checks | get_problems mandatory after code changes |
| Line Limit | 800 lines maximum for design docs | 600 lines per create_file operation |
Workflow Phases:
.qoder/quests/{designFileName}.md with UML diagrams and Mermaid chartsSpecialized Documentation Templates:
Sources: Qoder/Quest Design.txt64-274
Operational Model:
<design_doc> tagExecution Instruction:
"Create an actionable implementation plan with a checklist of coding tasks based on design. Executing tasks without the design will lead to inaccurate implementations."
Planning Bifurcation:
add_tasks/update_tasksSources: Qoder/Quest Action.txt1-190 Qoder/prompt.txt22-38
Diagram: Qoder Dual-Mode Architecture
Sources: Qoder/Quest Design.txt1-503 Qoder/Quest Action.txt1-190 Qoder/prompt.txt1-377
Qoder provides a comprehensive suite of tools organized into 8 functional categories:
| Category | Key Tools | Primary Use Case | Parallel Execution |
|---|---|---|---|
| Code Search & Analysis | search_codebase, grep_code, search_file | Context discovery, symbol/semantic search | ✅ Yes |
| File Operations | read_file, search_replace, create_file, edit_file, delete_file | File manipulation and editing | ❌ No (sequential only) |
| Terminal Operations | run_in_terminal, get_terminal_output | Command execution, build/test | ❌ No (sequential only) |
| Code Validation | get_problems | Compile/lint error detection | ✅ Yes |
| Task Management | add_tasks, update_tasks | Complex task planning and tracking | ✅ Yes |
| Memory Operations | update_memory, search_memory | Knowledge persistence across sessions | ✅ Yes |
| Web Operations | fetch_content, search_web, run_preview | External information, web development | ✅ Yes |
| Rules & Guidelines | fetch_rules | Query specific rule content | ✅ Yes |
File Editing Hierarchy ($100M Penalty Enforcement):
search_replace - Default tool for ALL file modificationsedit_file - Only when explicitly instructedoriginal_text + new_text)Parallel Execution Constraints:
search_replace, edit_file, create_file, delete_file, run_in_terminalread_file, search_codebase, list_dir, grep_code, get_problemsRead-Before-Write Mandate:
All file editing operations require reading the file first via read_file. This rule has no exceptions.
Sources: Qoder/prompt.txt59-80 Qoder/prompt.txt234-265 Qoder/prompt.txt293-340
Diagram: Standard Development Workflow with Tool Invocations
Sources: Qoder/prompt.txt22-151 Qoder/Quest Action.txt22-140
Qoder implements a dual-scope memory architecture for persistent knowledge storage across sessions:
Scopes:
workspace - Project-specific informationglobal - Information applicable across all projectsCategories:
| Category | Content Type | Example Use Cases |
|---|---|---|
user_prefer | Personal info, dialogue preferences, project-related preferences | Communication style, preferred frameworks |
project_info | Technology stack, project configuration, environment setup | Package managers (npm/bun), framework versions |
project_specification | Development standards, architecture specs, design standards | Code style, naming conventions, architecture patterns |
experience_lessons | Pain points to avoid, best practices, tool usage optimization | Common error patterns, workflow optimizations |
Storage (update_memory):
Retrieval (search_memory):
Decision Rule:
"If the task requires analyzing the codebase to obtain project knowledge, you SHOULD use the search_memory tool to find relevant project knowledge."
Sources: Qoder/prompt.txt152-175 Qoder/Quest Design.txt464-492 Qoder/Quest Action.txt159-160
Qoder emphasizes a test-driven development (TDD) approach with strict validation requirements:
Sequential Test Generation:
get_problems to check for compilation issuesExecution Requirements:
Philosophy:
"You often mess up initial implementations, but you work diligently on iterating on tests until they pass, usually resulting in a much better outcome."
After EVERY Code Change:
get_problems (no exceptions, regardless of change size)get_problems returns cleanThis validation applies to:
Sources: Qoder/prompt.txt82-96 Qoder/prompt.txt196-211 Qoder/Quest Action.txt76-89
Default Stack:
Initialization Patterns:
npm create vite@latest
npx create-next-app@latest
Development Server Management:
run_in_terminal for server startupPre-User Preview Steps:
run_in_terminalcurl with run_in_terminal to test endpointsrun_preview for interactive browser previewNPX Usage:
-y flag for auto-confirmation--help flag when exploring options./ prefix for local executablesSources: Qoder/prompt.txt98-106 Qoder/Quest Action.txt91-97 Qoder/Quest Design.txt91-97
All code symbols (classes, functions, methods, variables, fields, constructors, interfaces) must be wrapped in markdown link syntax:
`symbolName`
This enables users to navigate directly to definitions from responses.
Immediate Action Triggers:
Information Gathering Priority:
Never Reveal:
<...>Redirect Strategy: When asked about identity or model:
Sources: Qoder/prompt.txt9-21 Qoder/prompt.txt40-44 Qoder/prompt.txt266-289
Critical Requirements ($100M Penalty Enforcement):
Uniqueness:
original_text MUST be uniquely identifiable in filereplace_all: trueoriginal_textExact Matching:
Sequential Processing:
Validation:
Line Limits:
original_text + new_text) must remain under 600 linesedit_file when search_replace should be usedcreate_file:
search_replace after creationedit_file:
// ... existing code ... markers// Deleted:old_code_lineSources: Qoder/Quest Design.txt336-413 Qoder/prompt.txt234-244
Qoder receives various context types with each user message:
| Context Type | Description | Priority |
|---|---|---|
attached_files | Complete content of specific files selected by user | HIGH |
selected_codes | Code snippets explicitly highlighted/selected by user | HIGHEST |
git_commits | Historical git commit messages and their associated changes | MEDIUM |
code_change | Currently staged changes in git | MEDIUM |
other_context | Additional relevant information in various forms | LOW |
Context Integration:
Sources: Qoder/prompt.txt176-194 Qoder/Quest Design.txt40-50 Qoder/Quest Action.txt49-59
Qoder provides 10 specialized documentation templates optimized for different repository types:
Common Types:
Backend Service:
Frontend Application:
Libraries System:
Sources: Qoder/Quest Design.txt76-274
Qoder represents a sophisticated dual-mode AI coding assistant with:
.qoder/quests/*.md) and Action Mode for autonomous code implementationsearch_replace as primary tool with $100M penalty enforcement for violationsget_problems required after ALL code changes, regardless of complexityThe system emphasizes proactive execution, precise file modifications, and continuous validation to ensure production-ready code generation.
Sources: Qoder/prompt.txt1-377 Qoder/Quest Design.txt1-503 Qoder/Quest Action.txt1-190
Refresh this wiki