AGENT SKILL
pysetup
Bootstrap a Python project via dev-essentials setup, then add uv/ruff conventions to AGENTS.md
- License 许可
- MIT
- 最近更新
- 2026-10-19
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- pysetup
- description
- Bootstrap a Python project via dev-essentials setup, then add uv/ruff conventions to AGENTS.md
- argument-hint
- <project-root-path> (optional)
03 SKILL.md 正文
- Invoke the setup skill (dev-essentials plugin) with
$ARGUMENTS. If that skill is unavailable or fails to invoke: output "❌ Error: dev-essentials plugin not installed. Run: /plugin install dev-essentials@skillhub" and STOP. - Determine
GIT_ROOT:git rev-parse --show-toplevel(fallback topwdif not a git repo). - Ensure
GIT_ROOT/AGENTS.mdexists (it will, from step 1'ssetupinvocation). - Under a
## Commandssection inGIT_ROOT/AGENTS.md(create the section near the top, after the title, if absent), append these two lines — skip any line already present (idempotent):- **Run**: for python use uv - **After editing any `.py` file**: run `uv run ruff format <file>` and `uv run ruff check --fix <file>` on the changed file before finishing. - Output which lines were added vs. already present.
04 同仓库更多 Skills
example
Brief description of what this skill does
★ 2
mdupdate
Refine .md file by integrating user's inline answers
★ 2
mdresearch
Research codebase state from context file
★ 2
mdplan
Generate step-by-step implementation plan from research
★ 2
mdimplement
Execute implementation plan with testing and verification
★ 2
ruff
Format and lint-fix Python file(s) or directory via ruff format + ruff check --fix
★ 2