team-shinchan:backend
npx machina-cli add skill seokan-jeong/team-shinchan/backend --openclawEXECUTE IMMEDIATELY
Step 1: Validate Input
If args is empty or only whitespace:
Ask user: "What backend work would you like me to do?"
STOP and wait for user response
If args length > 2000 characters:
Truncate to 2000 characters
Warn user: "Request was truncated to 2000 characters"
Step 2: Execute Task
Do not read further. Execute this Task NOW:
Task(
subagent_type="team-shinchan:bunta",
model="sonnet",
prompt=`/team-shinchan:backend has been invoked.
## Backend Development Request
Handle backend tasks including:
| Area | Capabilities |
|------|-------------|
| API Design | REST, GraphQL endpoints |
| Database | Schema design, migrations, queries |
| Server Logic | Business logic, validation, processing |
| Security | Authentication, authorization, input sanitization |
| Integration | Third-party APIs, webhooks, services |
## Implementation Requirements
- Follow RESTful conventions
- Implement proper error handling
- Validate all inputs
- Use parameterized queries (prevent SQL injection)
- Add appropriate logging
- Follow existing project patterns
User request: ${args || '(Please describe the backend task)'}
`
)
STOP HERE. The above Task handles everything.
Source
git clone https://github.com/seokan-jeong/team-shinchan/blob/main/skills/backend/SKILL.mdView on GitHub Overview
team-shinchan:backend handles backend work via Bunta, covering API design, database tasks, server logic, and integration. It emphasizes RESTful patterns, input validation, and consistent logging to keep services robust.
How This Skill Works
Input is validated: empty or whitespace prompts for a description; if args exceed 2000 characters, it is truncated with a warning. When valid, the system issues a Task call to subagent team-shinchan:bunta with a structured prompt detailing backend capabilities (API design for REST and GraphQL endpoints, database schema design, migrations, and queries, server logic, security, and integrations). The task enforces RESTful conventions, proper error handling, input validation, parameterized queries, and adherence to existing project patterns.
When to Use It
- Design and implement RESTful or GraphQL API endpoints (including authentication and validation).
- Design database schemas, write migrations, and craft efficient queries.
- Add server-side business logic, input validation, and error handling.
- Integrate with third-party APIs, webhooks, or external services.
- Enforce security practices such as authentication, authorization, and input sanitization across backend tasks.
Quick Start
- Step 1: Provide a detailed backend task in args.
- Step 2: The system validates input and truncates to 2000 characters if needed, warning you.
- Step 3: The task is executed by team-shinchan:bunta via a structured prompt.
Best Practices
- Follow RESTful conventions for endpoints and responses.
- Validate all inputs and handle errors gracefully.
- Use parameterized queries to prevent SQL injection.
- Implement consistent logging and observability.
- Follow existing project patterns and coding standards.
Example Use Cases
- Create a REST API endpoint for user management (CRUD).
- Design a GraphQL schema for a product catalog and resolvers.
- Add a migrations script for a new users table and seed data.
- Implement authentication middleware for API routes.
- Integrate with a third-party webhook and handle events.