一键导入
check-env
Run the full pre-commit quality gate — format, lint, static analysis. Use before committing changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the full pre-commit quality gate — format, lint, static analysis. Use before committing changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interact with the MCP Context Forge Gateway REST API — register gateways, create servers, invoke tools, manage teams, configure OAuth, and perform admin operations. Use when asked to register an MCP server, call a gateway endpoint, create a team, invoke a tool, set up a virtual server, test API connectivity, check gateway health, manage tokens, configure header passthrough, or perform any gateway API operation. Also trigger when the user mentions curl examples, API payloads, or gateway configuration.
Author gateway plugins for MCP Context Forge — native Python plugins or external MCP plugins. Use when asked to create a new plugin, add a hook, build a filter/guard/validator, write a content transformer, implement rate limiting or PII detection, or add any pre/post processing to the gateway pipeline. Also use when the user mentions plugin configuration, hook types, or policy enforcement.
Scaffold and create new MCP servers for MCP Context Forge. Use when asked to create a new MCP server, add a tool server, scaffold a Python or Go MCP server, build an MCP integration, or register an external service with the gateway. Also use when the user mentions adding new tools, creating a server for a specific API, or building a FastMCP service.
Create an Alembic database migration following project conventions (idempotent, single-head). Use when adding columns, tables, or modifying the database schema.
| name | check-env |
| description | Run the full pre-commit quality gate — format, lint, static analysis. Use before committing changes. |
| disable-model-invocation | true |
Run the project's full quality pipeline before committing.
git branch --show-currentgit diff --statFormat and run pre-commit hooks:
make autoflake isort black pre-commit
Type-check new/modified Python files only (use ty or mypy):
# Check just the files that changed
git diff --name-only --diff-filter=ACMR HEAD -- '*.py' | xargs -I{} .venv/bin/mypy {} --ignore-missing-imports 2>/dev/null || true
Run static analysis:
make flake8 bandit interrogate pylint verify
Report any failures. For each failure: