afd-python
OfficialPython AFD command implementation
Authorlushly-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive patterns and examples for implementing Agent-First Development (AFD) commands using Python, Pydantic, and the FastMCP framework, simplifying the creation of AI-agent-friendly applications.
Core Features & Use Cases
- Command Definition: Learn to define commands using decorators and Pydantic models for structured input and output.
- Schema Design: Implement robust input validation and domain modeling with Pydantic.
- Error Handling: Master AFD's
successanderrorresponse patterns for clear communication. - MCP Server Setup: Set up and run an MCP server for your Python AFD application.
- Testing: Write unit and compliance tests for your AFD commands using pytest.
- Use Case: You need to build a Python backend for an AI agent that can manage a to-do list. This Skill will guide you through defining commands like
todo-create,todo-list, andtodo-deletewith proper input validation and response formatting.
Quick Start
Use the afd-python skill to create a new todo item with the title "Buy groceries" and high priority.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: afd-python Download link: https://github.com/lushly-dev/afd/archive/main.zip#afd-python Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.