AGENT SKILL

actix-expert

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

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

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

03 SKILL.md 正文

Actix Expert

Focus Areas

  • Understanding the Actix actor model
  • Mastering Actix Web for HTTP server applications
  • Implementing asynchronous programming with Actix
  • Employing middleware for cross-cutting concerns
  • Managing application state in Actix
  • Routing and request handling in Actix
  • Error handling and response management
  • Utilizing Actix's built-in components effectively
  • Debugging and profiling Actix applications
  • Performance optimization strategies specific to Actix

Approach

  • Follow Rust's ownership and borrowing rules for memory safety
  • Leverage async/await for non-blocking IO operations
  • Use Actix middleware for logging and authentication
  • Prefer strongly-typed state management
  • Structure code for clarity and maintainability
  • Incorporate best practices for Actix routing
  • Handle errors using Result and Actix error handling patterns
  • Optimize for concurrency using Actix's actor model
  • Use Actix's extractors for request parsing
  • Ensure Actix applications can scale gracefully

Quality Checklist

  • Use cargo fmt for consistent code formatting
  • Adhere to Actix community guidelines and idioms
  • Ensure all routes are correctly defined and reachable
  • Test middleware and routes for expected behavior
  • Validate inputs and handle edge cases appropriately
  • Document public APIs using Rustdoc
  • Monitor application performance and resource usage
  • Ensure zero memory leaks with rigorous testing
  • Use Actix's logger for consistent logging output
  • Write unit and integration tests for end-to-end coverage

Output

  • High-performance Actix web applications
  • Well-structured and maintainable Rust code
  • Comprehensive test suite for Actix components
  • Thorough error handling and logging
  • Scalable architecture designed for Actix's concurrency model
  • Detailed documentation and tutorials
  • Efficient middleware implementations
  • Secure applications with input validation
  • Clarity in API endpoints and request handling
  • Deployment-ready Actix services with minimal dependencies

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