Atlas Framework
by @marlowne12
ATLAS Framework - Structured AI-assisted development methodology with GOTCHA 6-layer architecture and 5-step app building workflow. Use when building applica...
clawhub install atlas-frameworkπ About This Skill
name: atlas-framework description: "ATLAS Framework - Structured AI-assisted development methodology with GOTCHA 6-layer architecture and 5-step app building workflow. Use when building applications, creating workflows, or setting up agentic systems."
ATLAS Framework
A structured methodology for AI-assisted development built on the GOTCHA 6-layer architecture.
When to Use This Skill
Use this skill when:
The GOTCHA Framework (6 Layers)
GOT (The Engine):
goals/) β What needs to happen (process definitions)tools/) β Deterministic scripts that do the actual workCHA (The Context):
context/) β Reference material and domain knowledgehardprompts/) β Reusable instruction templatesargs/) β Behavior settings that shape how the system actsWhy GOTCHA?
LLMs are probabilistic (educated guesses). Business logic is deterministic (must work the same way every time). This structure bridges that gap through separation of concerns:
ATLAS Workflow (5 Steps)
Use this when building applications:
| Step | Phase | What You Do | |------|-------|-------------| | A | Architect | Define problem, users, success metrics | | T | Trace | Data schema, integrations map, stack proposal | | L | Link | Validate ALL connections before building | | A | Assemble | Build with layered architecture | | S | Stress-test | Test functionality, error handling |
For production builds, also add:
A β Architect
Purpose: Know exactly what you're building before touching code.
Answer these questions: 1. What problem does this solve? (One sentence) 2. Who is this for? (Specific user, not "everyone") 3. What does success look like? (Measurable outcome) 4. What are the constraints? (Budget, time, technical requirements)
T β Trace
Purpose: Design before building.
1. Data Schema β Define source of truth BEFORE building 2. Integrations Map β List every external connection (service, purpose, auth type, MCP available?) 3. Technology Stack β Propose database, backend, frontend 4. Edge Cases β Document what could break (rate limits, token expiry, timeouts)
L β Link
Purpose: Validate ALL connections BEFORE building.
[ ] Database connection tested
[ ] All API keys verified
[ ] MCP servers responding
[ ] OAuth flows working
[ ] Environment variables set
[ ] Rate limits understood
A β Assemble
Purpose: Build with proper architecture.
Build order: 1. Database schema first 2. Backend API routes second 3. Frontend UI last
Follow GOTCHA separation:
S β Stress-test
Purpose: Test before shipping.
File Structure
project/
βββ goals/ β Process definitions (what to achieve)
βββ tools/ β Execution scripts (organized by workflow)
βββ args/ β Behavior settings (YAML/JSON)
βββ context/ β Domain knowledge and references
βββ hardprompts/ β Reusable instruction templates
βββ memory/ β Persistent memory system
βββ .tmp/ β Temporary work (disposable)
βββ .env β API keys + environment variables
βββ CLAUDE.md β System instruction file
Memory System
The framework includes a persistent memory system for cross-session continuity.
Loading Memory
At session start, load memory context:
memory/MEMORY.md for curated long-term factsmemory/logs/YYYY-MM-DD.mdMemory Types
fact β Objective informationpreference β User preferences event β Something that happenedinsight β Learned patterntask β Something to dorelationship β Connection between entitiesSearch Capabilities
Anti-Patterns (What NOT To Do)
1. Building before designing β End up rewriting everything 2. Skipping connection validation β Hours wasted on broken integrations 3. No data modeling β Schema changes cascade into UI rewrites 4. No testing β Ship broken code, lose trust 5. Hardcoding everything β No flexibility for changes
Guardrails
tools/manifest.md before writing new scriptsFirst Run Initialization
On first session in a new environment:
1. Check if memory/MEMORY.md exists
2. If missing, create the folder structure:
- memory/logs/
- data/
3. Create MEMORY.md with template
4. Initialize SQLite databases for memory and activity tracking
Continuous Improvement Loop
Every failure strengthens the system:
1. Identify what broke and why 2. Fix the tool script 3. Test until it works reliably 4. Update the goal with new knowledge 5. Next time β automatic success