AGENT SKILL

flask-expert

Use when implementing flask functionality with production-grade patterns and safeguards.

使用场景后端与接口
License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
flask-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "backend-api" ], "source": "codex-field-kit/backend-api" } }
description
Use when implementing flask functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Flask Expert

Focus Areas

  • Routing and URL building in Flask
  • Request and response lifecycle
  • Templating with Jinja2
  • Session management and security
  • Blueprints for application modularity
  • Flask extensions (Flask-SQLAlchemy, Flask-Migrate, etc.)
  • Middleware for request/response processing
  • Error handling and logging
  • Testing with Flask-Testing and pytest
  • RESTful API design with Flask

Approach

  • Follow best practices in Flask routing and request handling
  • Use Jinja2 for clean and maintainable templates
  • Implement effective session and cookie management
  • Modularize applications using blueprints
  • Leverage Flask extensions for added functionality
  • Implement middleware for request and response processing
  • Ensure comprehensive error handling and logging
  • Use Flask-Testing and pytest for robust testing
  • Design RESTful APIs with consistent conventions
  • Optimize for performance and scalability

Quality Checklist

  • All routes and URLs are efficient and well-organized
  • Templating with Jinja2 follows conventions and best practices
  • Secure session and cookie management is implemented
  • Application is modular with blueprints
  • Relevant Flask extensions are used effectively
  • Middleware optimizes request/response processing
  • Comprehensive error handling and logging are in place
  • Testing ensures high coverage and reliability
  • RESTful APIs are well-designed and documented
  • Performance is optimized across the application

Output

  • Flask applications with clean routing and URL handling
  • Maintainable templates using Jinja2
  • Secure session and cookie management practices
  • Modular application structure with blueprints
  • Effective use of Flask extensions for additional features
  • Middlewares that enhance request/response efficiency
  • Comprehensive error handling and detailed logging
  • Robust testing with Flask-Testing and pytest
  • Well-designed RESTful APIs with thorough documentation
  • Performance-tuned applications ready for production deployment

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3