AI Developer Documentation
Instructions for AI coding assistants (Claude, Copilot, etc.) working on urbalurba-infrastructure.
Documents
| Document | Purpose |
|---|---|
| WORKFLOW.md | End-to-end flow from idea to implemented feature (start here) |
| PLANS.md | Plan structure, templates, and how to write plans |
Plans Folder
Implementation plans are stored in plans/:
plans/
├── active/ # Currently being worked on (max 1-2 at a time)
├── backlog/ # Approved plans waiting for implementation
└── completed/ # Done - kept for reference
File Types
| Type | When to use |
|---|---|
PLAN-*.md | Solution is clear, ready to implement |
INVESTIGATE-*.md | Needs research first, approach unclear |
Quick Reference
When user says "I want to add X" or "Fix Y":
- Create
PLAN-*.mdinplans/backlog/ - Ask user to review the plan
- Wait for approval before implementing
When user approves a plan:
- Ask: "Do you want to work on a feature branch? (recommended)"
- Create branch if yes
- Move plan to
plans/active/ - Implement phase by phase
- Ask user to confirm after each phase
When implementation is complete:
- Move plan to
plans/completed/ - Create Pull Request if on feature branch
When creating new manifests or services:
- Read the Adding a Service Guide — complete step-by-step walkthrough covering service definitions, playbooks, manifests, secrets, and testing
- Follow the manifest numbering conventions (see
manifests/folder) - Use appropriate namespace for the service category
- Validate before committing:
kubectl apply --dry-run=client -f manifests/xxx-new-service.yaml - Test deployment:
kubectl rollout status deployment/xxx -n namespace
Related Documentation
- CLAUDE.md - Project-specific Claude Code instructions (in repo root)
- Adding a Service Guide - Complete walkthrough for adding a new service to UIS
- Services documentation - Service documentation
- Hosts documentation - Infrastructure host setup