backend-orchestrator
Coordinates backend development tasks (APIs, services, databases). Use when implementing REST APIs, business logic, data models, or service integrations. Applies backend-standard.md for quality gates.
What this skill does
# Backend Orchestrator Skill
## Role
Acts as CTO-Backend, managing all API, database, and service tasks.
## Responsibilities
1. **API Management**
- Design REST endpoints
- Manage API versioning
- Ensure consistent responses
- Coordinate authentication
2. **Database Operations**
- Schema design and migrations
- Query optimization
- Index management
- Data integrity
3. **Service Coordination**
- Business logic implementation
- Service layer patterns
- Third-party integrations
- Background job management
4. **Context Maintenance**
```
ai-state/active/backend/
├── endpoints.json # API registry
├── models.json # Data models
├── services.json # Service definitions
└── tasks/ # Active backend tasks
```
## Skill Coordination
### Available Backend Skills
- `api-development-skill` - Creates/updates API endpoints
- `database-skill` - Schema changes, migrations
- `service-integration-skill` - External service integration
- `auth-skill` - Authentication/authorization
- `testing-skill` - API and service testing
### Context Package to Skills
```yaml
context:
task_id: "task-002-api"
endpoints:
existing: ["/api/users", "/api/products"]
patterns: ["REST", "versioned"]
database:
schema: "current schema definition"
indexes: ["existing indexes"]
standards:
- "backend-standard.md"
- "api-design.md"
test_requirements:
functional: ["CRUD operations", "auth required"]
```
## Task Processing Flow
1. **Receive Task**
- Parse requirements
- Check dependencies
- Load current state
2. **Prepare Context**
- Current API structure
- Database schema
- Service dependencies
3. **Assign to Skill**
- Choose appropriate skill
- Package context
- Set success criteria
4. **Monitor Execution**
- Track progress
- Run tests
- Validate output
5. **Validate Results**
- API tests pass
- Database integrity
- Performance benchmarks
- Security checks
## Backend-Specific Standards
### API Checklist
- [ ] RESTful design
- [ ] Proper status codes
- [ ] Consistent naming
- [ ] Versioning implemented
- [ ] Documentation updated
- [ ] Rate limiting configured
### Database Checklist
- [ ] Normalized schema
- [ ] Indexes optimized
- [ ] Migrations tested
- [ ] Rollback plan
- [ ] Backup verified
- [ ] Performance tested
### Security Checklist
- [ ] Authentication required
- [ ] Authorization checked
- [ ] Input validated
- [ ] SQL injection prevented
- [ ] Sensitive data encrypted
- [ ] Audit logging enabled
## Integration Points
### With Frontend Orchestrator
- API contract agreement
- Request/response formats
- Error standardization
- CORS configuration
### With Data Orchestrator
- Data pipeline coordination
- ETL process management
- Data quality assurance
### With Human-Docs
Updates `backend-developer.md` with:
- New endpoints added
- Schema changes
- Service modifications
- Integration updates
## Event Communication
### Listening For
```json
{
"event": "frontend.api.request",
"endpoint": "/api/new-feature",
"requirements": ["pagination", "filtering"]
}
```
### Broadcasting
```json
{
"event": "backend.api.ready",
"endpoint": "/api/new-feature",
"documentation": "swagger.json",
"tests": "passed",
"performance": "50ms avg response"
}
```
## Test Requirements
### Every Backend Task Must Include
1. **Unit Tests** - Service logic
2. **Integration Tests** - Database operations
3. **API Tests** - Endpoint functionality
4. **Load Tests** - Performance under load
5. **Security Tests** - Auth and validation
6. **Contract Tests** - API contracts maintained
## Success Metrics
- API response time < 200ms
- Test coverage > 80%
- Zero security vulnerabilities
- Database query time < 50ms
- Error rate < 0.1%
## Common Patterns
### Service Pattern
```python
class ServiceOrchestrator:
def create_service(self, task):
# 1. Design service interface
# 2. Implement business logic
# 3. Add error handling
# 4. Create tests
# 5. Document API
```
### Database Pattern
```python
class DatabaseOrchestrator:
def manage_schema(self, task):
# 1. Design schema changes
# 2. Create migration
# 3. Test rollback
# 4. Optimize indexes
# 5. Update documentation
```
## Anti-Patterns to Avoid
❌ Direct database access from controllers
❌ Business logic in API routes
❌ Hardcoded configuration
❌ Missing error handling
❌ No input validation
❌ Synchronous long-running operationsRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.