mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-04-29 23:57:37 -05:00
- Remove demonstrate_complex_computation_graph() function from Module 05 (autograd) - Remove demonstrate_optimizer_integration() function from Module 06 (optimizers) - Module 04 (losses) had no demonstration functions to remove - Keep all core implementations and unit test functions intact - Keep final test_module() function for integration testing - All module tests continue to pass after cleanup(https://claude.ai/code)
📚 TinyTorch .claude Configuration Hub
This directory contains the complete development system for TinyTorch: workflows, agents, and guidelines.
🚀 Quick Start: Slash Commands
Use these commands to trigger workflows:
/website [request] - Update website content
/module [request] - Module development
/test [target] - Run tests
/tito [request] - CLI updates
/education [request] - Educational improvements
Example Usage
/website add a debugging guide
/module fix tensor backward pass
/test all checkpoints
/tito add progress visualization
/education improve autograd learning
📁 Directory Structure
.claude/
├── README.md # This file (START HERE)
│
├── workflows/ # 🎯 WORKFLOW DEFINITIONS
│ ├── README.md # Workflow system documentation
│ ├── website.md # /website command workflow
│ ├── module.md # /module command workflow
│ ├── test.md # /test command workflow
│ ├── tito.md # /tito command workflow
│ └── education.md # /education command workflow
│
├── agents/ # AI AGENT DEFINITIONS (7 Agents)
│ ├── technical-program-manager.md # Orchestration & coordination
│ ├── education-reviewer.md # Educational design & validation
│ ├── module-developer.md # Module implementation
│ ├── quality-assurance.md # Testing & validation
│ ├── package-manager.md # Integration & packaging
│ ├── website-manager.md # Website content & strategy
│ └── devops-tito.md # CLI & infrastructure development
│
├── guidelines/ # DEVELOPMENT STANDARDS
│ ├── DESIGN_PHILOSOPHY.md # KISS principle
│ ├── GIT_WORKFLOW.md # Git standards
│ ├── MODULE_DEVELOPMENT.md # Module patterns
│ ├── TESTING_STANDARDS.md # Testing requirements
│ ├── PERFORMANCE_CLAIMS.md # Honest reporting
│ └── AGENT_COORDINATION.md # Agent teamwork
│
└── docs/ # Additional documentation
🎯 How the System Works
1. Slash Commands → Workflows
When you type /website add content, Claude:
- Recognizes the
/websitecommand - Loads the
workflows/website.mdspecification - Executes the defined agent sequence
- Ensures quality gates are met
2. Workflows → Agents
Each workflow defines:
- Which agents to use
- What order to execute them
- What each agent should produce
- How to handle failures
3. Agents → Implementation
Each agent has:
- Specific expertise area
- Clear responsibilities
- Quality standards
- Handoff protocols
📖 Key Documents to Read
For New Users
- Start Here:
../CLAUDE.md- Main instructions - Workflows:
workflows/README.md- How to use slash commands - Guidelines:
guidelines/DESIGN_PHILOSOPHY.md- Core principles
For Development
guidelines/GIT_WORKFLOW.md- Git practicesguidelines/MODULE_DEVELOPMENT.md- Module standardsguidelines/TESTING_STANDARDS.md- Testing requirements
For Understanding Agents
agents/folder - Individual agent capabilitiesworkflows/folder - How agents work togetherguidelines/AGENT_COORDINATION.md- Coordination patterns
🚨 Important Rules
- Always use slash commands when available
- Follow workflow sequences - don't skip steps
- Respect quality gates - fix failures before proceeding
- Check guidelines before major changes
- Use version control - work on feature branches
💡 Best Practices
Using Slash Commands
✅ DO: /website add debugging guide
❌ DON'T: "Can you update the website with a debugging guide?"
Following Workflows
✅ DO: Let workflow complete all steps ❌ DON'T: Skip agents or change order
Quality Standards
✅ DO: Fix issues when quality gates fail ❌ DON'T: Bypass testing or validation
🔧 Customization
Adding New Workflows
- Create
workflows/[name].md - Define agent sequence
- Add to slash commands in
CLAUDE.md - Document in
workflows/README.md
Adding New Agents
- Create
agents/[name].md - Define capabilities and responsibilities
- Update relevant workflows
- Add to agent coordination guide
📊 System Health
Check Configuration
ls -la .claude/ # View structure
ls .claude/workflows/ # List workflows
ls .claude/agents/ # List agents
Validate Setup
- All workflows have corresponding files
- All agents referenced in workflows exist
- Guidelines are up to date
- No orphaned or duplicate files
Questions? Start with workflows/README.md for detailed workflow documentation.