do-app-platform-skills
CLAUDE.md36 starsChanged 10 months agoMITView on GitHub
This is a knowledge/skill repository for DigitalOcean App Platform, not a traditional application. It contains structured documentation and helper scripts designed to assist AI agents (like Claude) with DO App Platform deployments. No build system - this is documentation with embedded scripts, not compiled code. Reference: shared/credential-patterns.md These are prerequisites for users, not dev dependencies: - doctl (DigitalOcean CLI) - gh (GitHub CLI) - psql (PostgreSQL client) - Docker/Docker Compose When modifying skills: 1. YAML frontmatter should only have name…
In this repository13 other files it gives its agents.
- app-platform-routerSkill
- ai-servicesSkill
- deploymentSkill
- app-platform-designerSkill
- devcontainersSkill
- managed-db-servicesSkill
- app-platform-migrationSkill
- app-platform-networkingSkill
- plannerSkill
- postgresSkill
- app-platform-sandboxSkill
- spacesSkill
- app-platform-troubleshootingSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
All skills reference shared/opinionated-defaults.yaml for consistency:
- Very specific: line 72
Use do_app_sandbox SDK for shell access (not doctl apps console)
- Very specific: line 80
Keep SKILL.md concise (150-350 lines), move detailed content to reference/ subdirectory
- Distinctive: line 82
Follow credential-safe patterns for any scripts that handle secrets
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a knowledge/skill repository for DigitalOcean App Platform, not a traditional application. It contains structured documentation and helper scripts designed to assist AI agents (like Claude) with DO App Platform deployments.
No build system - this is documentation with embedded scripts, not compiled code.
Repository Structure
SKILL.md # Router - dispatches requests to appropriate sub-skills
shared/ # Common reference data used by all skills
├── AppSpec-Reference.md # Field-level syntax, constraints, regex patterns
├── bindable-variables.md # Database and component variable reference
├── credential-patterns.md# Secure credential handling patterns
├── instance-sizes.yaml # Instance sizing and pricing
├── regions.yaml # Available regions and platform mappings
└── opinionated-defaults.yaml
skills/ # 11 specialized sub-skills (designer, deployment, postgres, etc.)
└── skill-name/
├── README.md # Quick overview
├── SKILL.md # Concise router (150-350 lines)
├── reference/ # Detailed documentation (loaded on-demand)
├── scripts/ # Helper bash/Python scripts
└── templates/ # Reusable configurationsArchitecture
Skill Routing
The root SKILL.md is a router with a decision tree that directs user requests to specialized skills:
- Natural language → trigger phrase matching → route to skill
- Skills are self-contained but reference shared data
Key Skills
- designer - Natural language → App Spec generation
- deployment - GitHub Actions CI/CD setup
- migration - Platform migration (Heroku, AWS, Render, etc.)
- postgres - Database configuration and multi-tenant patterns
- troubleshooting - Debug and diagnostics
Credential Handling (Critical)
Three-tier hierarchy enforced throughout:
- GitHub Secrets (preferred) - encrypted, per-environment
- Bindable Variables - auto-populated by DO for managed services
- Ephemeral - generate → use → delete (never display passwords)
Reference: shared/credential-patterns.md
Opinionated Defaults
All skills reference shared/opinionated-defaults.yaml for consistency:
- Instance:
apps-s-1vcpu-1gb - Region:
nyc - PostgreSQL: v16
- Python: 3.12 with
uv - Valkey (not Redis)
- VPC-only networking
Required CLI Tools
These are prerequisites for users, not dev dependencies:
doctl(DigitalOcean CLI)gh(GitHub CLI)psql(PostgreSQL client)- Docker/Docker Compose
AI Assistant Patterns
- Use
do_app_sandboxSDK for shell access (notdoctl apps console) - Debug container:
ghcr.io/bikramkgupta/do-app-debug-container-python - Artifact handoff protocol: state what was created, suggest next skill
Working with Skills
When modifying skills:
- YAML frontmatter should only have
name+description(description includes "Use when..." triggers) - Keep SKILL.md concise (150-350 lines), move detailed content to
reference/subdirectory - Reference shared data rather than duplicating defaults
- Follow credential-safe patterns for any scripts that handle secrets
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

