بنقرة واحدة
verify
Run full verification pipeline (lint, format, test, security) before committing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run full verification pipeline (lint, format, test, security) before committing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | verify |
| description | Run full verification pipeline (lint, format, test, security) before committing |
Run this before every commit to ensure code quality and security.
Run all steps in order. Stop on first failure.
uv run ruff check claude_discord/
If there are auto-fixable issues:
uv run ruff check --fix claude_discord/
uv run ruff format --check claude_discord/
If formatting is needed:
uv run ruff format claude_discord/
uv run pytest tests/ -v --cov=claude_discord --cov-report=term-missing
All tests must pass. Review coverage for newly added code.
Before committing, check for these security concerns specific to this project:
shell=True in any subprocess call — this is forbiddentoken, secret, password, api_key with string literal values^[a-f0-9\-]+$-- separator_STRIPPED_ENV_KEYS must include any new secret env vars# Quick security grep
uv run ruff check claude_discord/ --select S # bandit rules via ruff
Verify the public API still works:
python -c "from claude_discord import ClaudeRunner, ClaudeChatCog, SkillCommandCog, SessionRepository"
__init__.py exports match actual module structureccdb のマイナー/メジャーリリース手順。「v1.4.0としてリリースして」等と言われたときに使う。
Python coding patterns, idioms, and quality standards for claude-code-discord-bridge development
Security checklist specific to claude-code-discord-bridge — subprocess injection, env leaks, input validation
Enforce test-driven development — write tests FIRST, then implement. Mandatory for new features and bug fixes.
Testing patterns for claude-code-discord-bridge — pytest, async testing, mocking Discord objects, TDD workflow
Step-by-step guide to add a new discord.py Cog to the framework