Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add collectiveai-team/agent-skills --skill "api"
Install specific skill from multi-skill repository
# Description
API Skill for FastAPI. Use when creating or editing FastAPI API code, routers, main app setup, lifecycle, or logging.
# SKILL.md
name: api
description: API Skill for FastAPI. Use when creating or editing FastAPI API code, routers, main app setup, lifecycle, or logging.
API Skill
Follow these steps when creating or editing API code.
Review Checklist
- Use Pydantic models for request and response payloads.
- Group related endpoints under router modules.
- Use main.py to include routers, add time middleware, add lifecycle events, and include a main block to run the API.
- If a logger is not created, create one following the logger skill.
Example Structure
api/
__init__.py
main.py
router/
__init__.py
users/
__init__.py
router.py
models.py
services.py
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.