用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ShouxinZhang/agent-chat-meme --skill python-quality-gate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
当用户希望把一个实际问题沉淀成内部文档,并且更关心“需要决定什么”和“推荐答案是什么”时使用。适合把原始 query 拆成多个决策题,再直接给默认答案、例外条件和最终建议的写法。
当用户要“学懂”概念、论文、方法、指标或推导时使用。适合容易出现“抽象先于理解”的场景:符号、矩阵、概率、递推式、参数或公式如果直接抛出,用户大概率会继续追问“这是什么”“这一步为什么这样来”。
先由记忆继承 subagent 产出 `plan.md` 和 `verify.md`,再按文件 ownership 串并行派发 worker,最后由主 agent 亲自复核验收门禁的多阶段执行技能。适用于用户明确要求“先计划、后门禁、再由 workers 执行”的任务。
基于 SOC 职业分类
| name | python-quality-gate |
| description | 通用 Python 开发门禁技能。统一执行 Ruff 与 Pyright,并支持多目录目标与自动发现。 |
这个技能用于统一执行 Python 质量门禁,默认一次性执行:
ruff checkpyright.agents/skills/):
python -m compileall .agents/skills.agents/。推荐在游戏模块内提供:
<game_module>/skills/SKILL.md<game_module>/skills/scripts/mechanical_gate.py<game_module>/skills/scripts/dynamic_agent_playtest.py<game_module>/skills/scripts/build_subagent_test_plan.py<game_module>/tests/test_*.py测试目录约束:
<game_module>/tests/。tests/ 仅用于跨模块或工作区级集成测试。其中动态测试脚本应支持主 agent 将任务分发给 subagents(如 runSubagent)并汇总结果。
python3 .agents/skills/python-quality-gate/scripts/python_gate.py
python3 .agents/skills/python-quality-gate/scripts/python_gate.py --targets src sandbox
说明:
--targets 支持一个或多个目录,例如 --targets src 或 --targets src sandbox。python3 .agents/skills/python-quality-gate/scripts/python_gate.py --skip-functional
python3 .agents/skills/python-quality-gate/scripts/python_gate.py --skip-skill-gates
python3 .agents/skills/python-quality-gate/scripts/python_gate.py --skip-ui-gate
配置文件:
.agents/skills/python-quality-gate/pyrightconfig.skills-strict.json本地手动开启:
python3 .agents/skills/python-quality-gate/scripts/python_gate.py --strict-skills
临时跳过:
python3 .agents/skills/python-quality-gate/scripts/python_gate.py --skip-strict-skills
说明:
CI=1/true/yes/on 时,strict 类型门禁默认开启。python3 .agents/skills/python-quality-gate/scripts/python_gate.py \
--functional-cmd "python -m unittest pixel_coin_game.tests.test_pixel_coin_game -v" \
--functional-cmd "python -m pixel_coin_game --autoplay --no-gui --assert-optimal"
./check_errors.sh,其已委托到本技能脚本。