🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

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...

Versionv1.0.0
Downloads564
TERMINAL
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:

  • Building full-stack applications
  • Creating agentic workflows
  • Setting up AI assistant frameworks
  • Designing data systems or databases
  • Planning integrations with external services
  • The GOTCHA Framework (6 Layers)

    GOT (The Engine):

  • Goals (goals/) β€” What needs to happen (process definitions)
  • Orchestration β€” The AI manager that coordinates execution
  • Tools (tools/) β€” Deterministic scripts that do the actual work
  • CHA (The Context):

  • Context (context/) β€” Reference material and domain knowledge
  • Hard prompts (hardprompts/) β€” Reusable instruction templates
  • Args (args/) β€” Behavior settings that shape how the system acts
  • Why 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:

  • Push reliability into deterministic code (tools)
  • Push flexibility and reasoning into the LLM (orchestration)
  • Push process clarity into goals
  • Push behavior settings into args files
  • Push domain knowledge into context layer

  • 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:

  • V β€” Validate (security, input sanitization, edge cases, unit tests)
  • M β€” Monitor (logging, observability, alerts)
  • 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:

  • Frontend β€” UI components, user interactions
  • Backend β€” API routes, business logic, validation
  • Database β€” Schema, migrations, indexes
  • S β€” Stress-test

    Purpose: Test before shipping.

  • Functional Testing β€” All buttons work, data saves/retrieves, navigation works
  • Integration Testing β€” API calls succeed, MCP operations work, auth persists
  • Edge Case Testing β€” Invalid input handled, empty states display, network errors show feedback

  • 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:

  • Read memory/MEMORY.md for curated long-term facts
  • Read today's log: memory/logs/YYYY-MM-DD.md
  • Read yesterday's log for continuity
  • Memory Types

  • fact β€” Objective information
  • preference β€” User preferences
  • event β€” Something that happened
  • insight β€” Learned pattern
  • task β€” Something to do
  • relationship β€” Connection between entities
  • Search Capabilities

  • Keyword search
  • Semantic search
  • Hybrid search (best results)

  • 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

  • Always check tools/manifest.md before writing new scripts
  • Verify tool output format before chaining into another tool
  • Don't assume APIs support batch operations β€” check first
  • When a workflow fails mid-execution, preserve intermediate outputs before retrying
  • Read the full goal before starting a task β€” don't skim

  • First 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