npx skills add https://github.com/psincraian/myfy --skill routing-api使用 CLI 安装这个技能,并在你的工作区中直接复用对应的 SKILL.md 工作流。
Build Python applications with FastAPI's ergonomics and enterprise-grade architecture.
A modern Python framework combining type-safe dependency injection, modular architecture, and sensible defaults—all in a lightweight, async-first design.
# Install with uv (recommended)
uv pip install myfy-core myfy-web myfy-frontend myfy-cli
# Or with pip
pip install myfy-core myfy-web myfy-frontend myfy-cli
# app.py
from myfy.core import Application
from myfy.web import route, WebModule
from myfy.frontend import FrontendModule
@route.get("/api/hello/{name}")
async def hello(name: str) -> dict:
return {"message": f"Hello {name}!"}
app = Application(auto_discover=False)
app.add_module(WebModule())
app.add_module(FrontendModule())
Run it:
uv run myfy run
# API: http://127.0.0.1:8000/api/hello/World
# Frontend: http://127.0.0.1:8000
📖 Full Documentation at myfy.dev →
myfy includes a Claude Code plugin for AI-assisted development. Install the plugin to get:
# Add the myfy marketplace
/plugin marketplace add psincraian/myfy
# Install the plugin
/plugin install myfy@psincraian-myfy
MIT