description: "Development workflow and documentation standards for building on Agentbot."
How we build at Agentbot. These standards apply to skills, agent configurations, and contributions to the open source codebase.
- Skill developers building marketplace skills
- Contributors submitting PRs to the codebase
- Self-hosters customizing their Agentbot deployment
- Teams building internal agent workflows
- Diagnose root cause before fixing
- Verify the problem exists
- Test the fix thoroughly
- Document why it failed and why the fix works
- Document everything you do
- Write for someone who's never seen this code
- Include before/after examples
- Provide multiple reference formats
- Make every step repeatable
- Use consistent naming conventions
- Create templates and scripts
- Enable knowledge transfer
- Test locally before committing
- Verify all components work together
- Check edge cases
- Run full build/test suite
- Understand the problem completely
- Reproduce the error locally
- Identify root cause (not just symptoms)
- Document findings in detail
- Create todo list of steps
- Plan the fix (don't just code)
- Consider side effects
- Document before/after state
- Get agreement on approach
- Identify all files to change
- Make changes one file at a time
- Test after each change
- Document what changed and why
- Keep changes focused (one fix per commit)
- Verify no regressions
- Test the fix works
- Test edge cases don't break
- Verify full system still works
- Run linting/type checking
- Document test results
- Create setup guide
- Document common issues
- Provide quick reference
- Include troubleshooting
- Create next steps
- Leave code for others to use
- [ ] TypeScript/Linting passes
- [ ] No console errors
- [ ] Follows naming conventions
- [ ] Comments explain WHY (not WHAT)
- [ ] No dead code
- [ ] Works locally
- [ ] Works in production
- [ ] Edge cases handled
- [ ] No breaking changes
- [ ] Backward compatible
- [ ] Setup guide complete
- [ ] Quick reference available
- [ ] Troubleshooting section
- [ ] Examples included
- [ ] Next steps clear
- [ ] Manual testing done
- [ ] Build successful
- [ ] Health checks passing
- [ ] No regressions
- [ ] Team can reproduce
- [ ] Code committed
- [ ] Clear commit message
- [ ] Pushed to repository
- [ ] CI/CD verified
- [ ] Deployment successful
# What Was Done
- List all accomplishments
- Include before/after
# Current Status
- Services running/not running
- Health checks
- Build status
# Fixes Applied
- What was wrong
- Why it was wrong
- How we fixed it
- Result
# Next Steps
- What to do now
- Optional features
- Long-term roadmap# For Daily Use
- Most common commands
- Keyboard shortcuts
- Quick fixes
- One page, printableGood:
"Updated tsconfig.json with path mappings"
A+ Grade:
fix: update tsconfig.json with explicit path aliases
Problem: Web build failing with 53 module resolution errors
- Code uses @/lib/*, @/app/lib/*, and @/* paths
- tsconfig only mapped @/* to ./*
- Module resolver couldn't find files
Solution: Added explicit mappings:
- @/lib/* → ./lib/* (root level utilities)
- @/app/* → ./app/* (app folder)
- @/* → ./* (general catchall)
Result:
✅ 124 routes compile successfully
✅ Zero module resolution errors
✅ Web build: 5.0s complete
| Metric | Standard | Target |
|---|---|---|
| Documentation | 100% of work documented | ✅ Complete guides |
| Build Success | 0 errors after fix | ✅ All routes compiled |
| Service Health | All services operational | ✅ 5/5 running |
| Code Quality | TypeScript passes | ✅ Zero type errors |
| Git Commits | Clear, focused messages | ✅ Documented |
| Team Handoff | New person can follow | ✅ Step-by-step |
| Time to Deploy | < 10 minutes | ✅ Fast |
| Knowledge Base | Searchable documentation | ✅ Multiple files |
- Read existing docs - Learn from past work
- Plan your approach - Document before coding
- Work systematically - One change at a time
- Test continuously - Verify after each step
- Document as you go - Don't leave it to the end
- Create references - Make it easy for others
- Diagnose carefully - Find root cause
- Document the problem - Explain what happened
- Fix it properly - Don't just patch symptoms
- Test thoroughly - Verify no regressions
- Update docs - Add to troubleshooting section
- Share learning - Help team avoid same issue
- Complete all documentation - Nothing left undone
- Create quick start - For next person
- Document next steps - What comes next
- Archive processes - Save for future reference
- Get feedback - Ask if docs are clear
- Celebrate - Great work!
- Can solve problems
- Makes it work
- Code is functional
- Solves problems
- Makes it reproducible
- Writes clear docs
- Team can follow
- Understands root causes
- Builds systems
- Prevents problems
- Mentors others
- Sets standards
- All of above +
- Comprehensive documentation
- Knowledge transfer focus
- Continuous improvement
- Team multiplier
When One Person does A+ documentation:
- Saves 10+ people time
- Prevents 5+ common mistakes
- Enables remote teams
- Reduces onboarding from days to hours
- Builds institutional knowledge
- Increases team confidence
As an AI Agent:
- Apply this standard to every project
- Document as you work (not after)
- Make knowledge transferable
- Help your team level up
- Build reusable processes
As a Team Member:
- Follow this standard
- Ask for clarification in docs
- Contribute improvements
- Share learnings
- Help new people
- Quickstart - Get started with Agentbot
- Installation - Self-host Agentbot
- API Reference - Full API docs