devdna
v1.0.4
Published
Your coding DNA. Claude's memory. Your style. Forever.
Maintainers
Readme
DevDNA 🧬
Your coding DNA. Claude's memory. Your style. Forever.
Cursor gives generic code. DevDNA gives YOUR code.
The Problem
Every developer has a unique coding style — naming conventions, error handling patterns, architecture decisions, past mistakes. But every time you start a new project or ask Claude for help, it gives you generic code that could belong to anyone.
The Solution
DevDNA extracts your complete coding identity from your existing projects and injects it into Claude Code as 25 intelligence agents, 10 DNA skills, and a personal memory system — with a GraphRAG knowledge graph of all your functions.
npm install -g devdnaQuick Start
# Install
npm install -g devdna
# Create free account (25 scans/month)
devdna signup
devdna login
# Scan your existing projects
devdna scan ./my-project --name myproject
# Merge multiple projects into one DNA
devdna merge
# Inject into any new project (0.1 second!)
devdna inject --common
# Open Claude Code and use your DNA
claude
/dna-reuse "firebase auth add karo"Result in 60 seconds:
✅ backend/services/firebase_service.py — YOUR exact auth style
✅ backend/routers/auth.py — YOUR exact router pattern
✅ frontend/lib/services/auth_service.dart — YOUR exact Flutter pattern
✅ frontend/lib/models/user.dart — YOUR exact model structure
All in your naming conventions. Your error handling. Your style.GraphRAG Knowledge Graph
After devdna inject, open dna-graph.html in your browser:
- 467+ function nodes — every function from your codebase
- Force-directed clusters — auth, database, email, payment, api, general
- Interactive — drag, zoom, click for details
- Search — find any function instantly
- Relationships — see how agents, skills, and functions connect
What Gets Injected
After devdna inject, your .claude/ folder gets:
🤖 25 Intelligence Agents
Core (7)
| Agent | What It Does |
|-------|-------------|
| pattern-matcher | Finds existing similar code before writing anything new |
| reuse-engine | Decision tree: reuse → extend → create |
| anti-pattern-guard | Checks 12 DNA anti-patterns after every generation |
| bootstrap-agent | Scaffolds full projects pre-wired to your DNA |
| consistency-checker | Pre-PR audit across 6 dimensions |
| decision-memory | Surfaces why you chose certain technologies |
| tech-advisor | DNA-anchored library recommendations |
Security (5)
| Agent | What It Scans |
|-------|--------------|
| secrets-scanner | Hardcoded API keys, tokens, passwords |
| injection-guard | SQL/NoSQL injection, prompt injection |
| auth-flow-validator | 22 auth checks across Flutter + Backend |
| api-exposure-checker | PUBLIC/AUTHENTICATED/ADMIN route classification |
| dependency-cve-scanner | 14 Python + 8 Flutter vulnerable packages |
Extended (13) — dead-code-detector, migration-planner, refactor-intelligence, performance-profiler, dependency-auditor, api-contract-enforcer, context-summarizer, onboarding-agent, release-readiness-agent, multi-project-linker, test-coverage-agent, agent-failure-analyzer, security-dna-guard
⚡ 10 DNA Skills (Slash Commands)
/dna-reuse "description" # Find existing code, reuse it
/dna-check # 12-point anti-pattern scan
/dna-review # Pre-commit full DNA review
/dna-explain path/file:line # Why was this written this way?
/dna-decide "question" # Library choice from your DNA
/dna-learn # Extract new patterns this session
/dna-update path/to/file # Promote pattern to DNA
/dna-bootstrap name "desc" # Full project scaffold from DNA
/dna-audit # Compliance score 0-100
/dna-sync # Auto-fix all DNA drift🧠 Memory System
~/.devdna/memory/
decisions.md # Why Firebase? Why FastAPI? Documented forever.
mistakes.md # Bugs that happened — never repeat them.
anti-patterns.md # What to never do in your codebase.
tech-choices.md # Library choices with full rationale.
performance-wins.md # Optimizations that actually worked.
session-log.md # Auto-saved after every Claude Code session.🔧 Real Code Extraction
DevDNA doesn't just extract style patterns — it extracts actual functions from your codebase:
467 reusable functions extracted:
auth/ 120 functions — verify_firebase_token, get_or_create_user...
database/ 156 functions — get_db, batch_write, query_with_filters...
email/ 22 functions — send_email, gmail_oauth_flow...
payment/ 6 functions — create_order, verify_signature...
api/ 17 functions — router patterns, error handlers...
general/ 89 functions — async utilities, batch processors...
error/ 15 functions — HTTPException patterns...🔄 Auto Hooks
{
"PostToolUse": "File edit → DNA pattern detection",
"Stop": "Session end → memory auto-save"
}Pricing
Free Forever ✅
- 25 scans/month
- All 25 intelligence agents
- All 10 DNA skills
- GraphRAG knowledge graph
- Memory system + hooks
- No credit card required
npm install -g devdna
devdna signup # free, instantSecurity
DevDNA automatically excludes sensitive files from scanning:
.envand.env.*filessecrets.*,credentials.*filesserviceAccountKey.jsonpassword.*files
Your API keys and secrets never leave your machine.
Full Command Reference
devdna signup # Create free account
devdna login # Login
devdna scan . --name myproject # Scan codebase
devdna merge # Merge all project DNAs
devdna inject --common # Inject to current project
devdna inject --project myapp # Inject specific project
devdna audit --common # Compliance check
devdna show # View all scanned projectsRequirements
- Node.js >= 18.0.0
- Claude Code (for agents + skills)
- Free account at devdna.dev
How It Works
Your repos → 8 extraction agents → 15 pattern files
→ 467 real functions → GraphRAG knowledge graph
→ .claude/ injection → Claude codes exactly like youBuilt By
Tagbudy Services Pvt. Ltd. | Ahmedabad, India
"Your coding DNA. Claude's memory. Your style. Forever."
Star ⭐ if DevDNA saved you time!
