neuraforge-ai
AGENTS.md4 starsChanged 7 months agoApache-2.0View on GitHub
You have access to the NeuraForge AI development platform. Use these agents and rules when working on this codebase. When the user asks you to generate code, review code, debug, scaffold, or any development task — follow the appropriate agent instructions below. Always search the codebase before generating new code. Before writing any code: 1. Search the codebase for existing similar code — use the codebase-graph skill (graphify) if it's available, for anything beyond a trivial grep 2. Identify what…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository54 other files it gives its agents.
- .cursor/rules/code-review.mdcCursor rule
- .cursor/rules/db-design.mdcCursor rule
- .cursor/rules/debug.mdcCursor rule
- .cursor/rules/django-forge.mdcCursor rule
- .cursor/rules/dotnet-forge.mdcCursor rule
- .cursor/rules/flutter-forge.mdcCursor rule
- .cursor/rules/nestjs-forge.mdcCursor rule
- .cursor/rules/neuraforge.mdcCursor rule
- .cursor/rules/pr-review.mdcCursor rule
- .cursor/rules/react-forge.mdcCursor rule
- .cursor/rules/refactor.mdcCursor rule
- .cursor/rules/rn-forge.mdcCursor rule
- .cursor/rules/scaffold.mdcCursor rule
- .cursor/rules/spring-forge.mdcCursor rule
- .cursor/rules/test-forge.mdcCursor rule
- api-designSkill
- api-testingSkill
- architecture-reviewSkill
- changelogSkill
- codebase-graphSkill
- code-reviewSkill
- db-designSkill
- debugSkill
- deps-auditSkill
- design-syncSkill
- devils-advocateSkill
- devopsSkill
- django-forgeSkill
- doc-generatorSkill
- documentationSkill
- domain-setupSkill
- dotnet-forgeSkill
- explainSkill
- feature-pipelineSkill
- flutter-forgeSkill
- fullstack-orchestratorSkill
- git-worktreesSkill
- load-testingSkill
- migrateSkill
- nestjs-forgeSkill
- performance-reviewSkill
- presentation-builderSkill
- product-managerSkill
- pr-reviewSkill
- react-forgeSkill
- refactorSkill
- rn-forgeSkill
- scaffoldSkill
- security-reviewSkill
- spring-forgeSkill
- test-forgeSkill
- ui-validationSkill
- video-creatorSkill
- workspace-protocolSkill
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
When the user asks you to generate code, review code, debug, scaffold, or any development task — follow the appropriate agent instructions …
- Distinctive: line 11
Before writing any code:
- Very specific: line 12
Search the codebase for existing similar code — use the codebase-graph skill (graphify) if it's available, for anything beyond a trivial …
- Very specific: line 19
Read rules/core/FEEDBACK_PROTOCOL.md in full.
- Very specific: line 30
Read rules/core/MINIMAL_SOLUTION.md in full before generating.
- Distinctive: line 52
When asked to generate code, detect the stack using the signals below, then follow the corresponding agent.
- Distinctive: line 56
Use these file/content signals.
- Very specific: line 70
If package.json exists but no framework import is visible yet, ask the user which backend framework (NestJS vs plain Express vs other).
- Very specific: line 71
If both .csproj and package.json exist, generate for both and separate the output by stack.
- Distinctive: line 72
When in doubt, state your detected stack and ask for confirmation before generating.
- Distinctive: line 93
When asked to review code, use the Stack Detection table above, then load:
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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.
Files
NeuraForge AI — Agent Instructions
You have access to the NeuraForge AI development platform. Use these agents and rules when working on this codebase.
How to Use
When the user asks you to generate code, review code, debug, scaffold, or any development task — follow the appropriate agent instructions below. Always search the codebase before generating new code.
Plan Before Acting
Before writing any code:
- Search the codebase for existing similar code — use the
codebase-graphskill (graphify) if it's available, for anything beyond a trivial grep - Identify what to reuse, extend, or refactor
- Present a brief plan and wait for approval
- Then execute
Feedback Protocol (MANDATORY — how agents learn)
Read rules/core/FEEDBACK_PROTOCOL.md in full. Every code-generating agent must:
- Before generating — load
rules/anti-patterns/{stack}.mdand apply every rule listed - Before generating — check if
.neuraforge/lessons.mdexists; if so, read and apply project-specific rules - After generating — write a feedback log to
.neuraforge/feedback/{agent}-{YYYYMMDD}-{id}.md - Tell the user — at the end of every response, show the feedback log path and how to flag mistakes
This is how the agents improve. Every corrected feedback item becomes a new anti-pattern rule.
Minimal Solution Principle (MANDATORY — how much to generate)
Read rules/core/MINIMAL_SOLUTION.md in full before generating. Work down its
ladder — does this need to exist, does it already exist, does the framework
already do it, is there an approved dependency, can an existing file absorb
it — and stop at the first rung that resolves the request. The "never skip"
list in that file (audit fields, decimal money, validation, idempotency,
pagination, auth, UX states) stays mandatory regardless of how small the
request is.
Architecture Principles (enforce on ALL code)
- Data fetching at the leaf level — each component/widget fetches its own data, no parent prop-drilling
- Reuse → Extend → Refactor → Create — never duplicate. Search first.
- No god classes — controllers <150 lines, services <300, components <150
- Composition over inheritance — DI composition, max 1 level of inheritance
- Consistent error handling — standard response envelope, domain exceptions
- Audit everything — createdBy, modifiedBy, createdAt, modifiedAt, soft deletes
- Pagination on all lists — never return unbounded collections
- Loading / Error / Empty states — on every data-driven screen
- API URL paths: always lowercase-hyphenated (kebab-case) —
/api/v1/bank-accounts,/api/v1/transaction-history, NOT/api/v1/BankAccountsor/api/v1/bankAccounts. Enforced across ALL stacks (.NET, NestJS, Django, Spring Boot, React, RN, Flutter).
Code Generation
When asked to generate code, detect the stack using the signals below, then follow the corresponding agent.
Stack Detection (content-based — check in order)
Use these file/content signals. Extension alone is not enough.
| Signal | Stack |
*.csproj present or *.cs imports Microsoft.AspNetCore | .NET Core |
package.json contains "@nestjs/core" | NestJS |
package.json contains "react-native" | React Native |
package.json contains "react" (and not RN above) | React |
requirements.txt / *.py imports from rest_framework | Django + DRF |
requirements.txt / *.py imports from fastapi | FastAPI (use django-forge as base, note FastAPI differences) |
pom.xml contains spring-boot or build.gradle contains org.springframework.boot | Spring Boot |
pubspec.yaml present or *.dart files present | Flutter |
Tie-break rules:
- If
package.jsonexists but no framework import is visible yet, ask the user which backend framework (NestJS vs plain Express vs other). - If both
.csprojandpackage.jsonexist, generate for both and separate the output by stack. - When in doubt, state your detected stack and ask for confirmation before generating.
Agents by Stack
Backend
- .NET Core → Read
agents/forge.md— EF Core, CQRS, Repository Pattern, FluentValidation - NestJS → Read
agents/nestjs-forge.md— TypeORM, Guards, Interceptors, Modules - Django → Read
agents/django-forge.md— DRF, BaseRepository, Celery, Serializers - Spring Boot → Read
agents/spring-forge.md— JPA, MapStruct, Jakarta Validation, Flyway
Frontend / Mobile
- React → Read
agents/react-forge.md— React Query mandatory, Design Tokens - React Native → Read
agents/rn-forge.md— Typed Navigation, Platform-Aware - Flutter → Read
agents/flutter-forge.md— Riverpod, Freezed, GoRouter
Testing
- Unit/Integration tests → Read
agents/test-forge.md— TDD, auto-detects stack, generates unit + integration tests - E2E / QA → Read
agents/qa-agent.md— web, mobile, API, cross-platform E2E testing (mode auto-detected)
Code Review
When asked to review code, use the Stack Detection table above, then load:
- .NET → Read
agents/dotnet-reviewer.md - NestJS → Read
agents/nestjs-reviewer.md - Django → Read
agents/django-reviewer.md - Spring Boot → Read
agents/spring-reviewer.md - React → Read
agents/react-reviewer.md - React Native → Read
agents/rn-reviewer.md - Flutter → Read
agents/flutter-reviewer.md - Architecture → Read
agents/architecture-reviewer.md - Security → Read
agents/security-reviewer.md - Performance → Read
agents/performance-reviewer.md
Score 0-100. Format: 🔴 Critical / 🟡 Major / 🟢 Minor / 💡 Suggestions.
Developer Productivity
- Debug → Read
agents/debug.md— paste error, get diagnosis + fix - PR Review → Read
agents/pr-review.md— review git diff, structured output - Scaffold → Read
agents/scaffold.md— bootstrap new project - Refactor → Read
agents/refactor.md— break down god classes - DB Design → Read
agents/db-design.md— plain English → schema + migrations - API Design → Read
agents/api-design.md— requirements → OpenAPI spec - Migrate → Read
agents/migrate.md— framework upgrades, language conversions - Explain → Read
agents/explain.md— codebase documentation - Changelog → Read
agents/changelog.md— git commits → formatted changelog - Deps Audit → Read
agents/deps-audit.md— outdated, vulnerable, unused deps
Product & Planning
- Product Manager → Read
agents/product-manager.md— BRS, user stories - Devil's Advocate → Read
agents/devils-advocate.md— challenge requirements
Rules
Shared standards are in the rules/ directory:
rules/core/ARCHITECTURE_PRINCIPLES.md— universal principlesrules/core/MINIMAL_SOLUTION.md— how much to generate (MANDATORY, see above)rules/core/NAMING_CONVENTIONS.md— naming standards (if present)rules/core/ERROR_TAXONOMY.md— HTTP codes, error response formatrules/core/TESTING_STRATEGY.md— test pyramid, coverage targetsrules/backend/— API design, caching, queues, migrationsrules/frontend/— UX states, state managementrules/security/— token hygiene, rate limiting, security checklist
Codebase Knowledge Graph (optional)
See skills/codebase-graph/SKILL.md — wraps graphify
to back the "search codebase first" step above with something more thorough
than grep. Entirely optional; every agent works without it.
MCP Servers
This project has MCP servers configured in .mcp.json. Use them when available for Figma design access, Swagger/OpenAPI specs, SonarQube analysis, Playwright testing, and more.
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
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.

