用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fossasia/eventyay --skill code-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | code-review |
| description | How to review code and Pull Requests in the Eventyay repository against canonical instructions. |
This skill provides the standard operating procedure for AI agents (like GitHub Copilot, Claude, etc.) performing code reviews on the Eventyay repository.
Before reviewing specific business logic, strictly enforce these Non-Negotiable Architecture Rules (from AGENTS.md):
app/eventyay/. Tests must reside under app/tests/. Ensure legacy directories (talk/, video/, src/) are not being actively modified unless requested.pretix.*, pretalx.*, or venueless.*. All new code must use the eventyay.* namespace.django_scopes.scope(event=event). Flag missing scopes immediately.select_related and prefetch_related are used appropriately.Exception blocks. Code must catch specific exception types.During the review, you MUST apply the canonical scoped rules based on the files modified in the pull request:
| File Type | Instruction File to Enforce | Key Review Focus |
|---|---|---|
Python (.py) | .github/instructions/python.instructions.md | Python 3.12 compatibility, correct typing, proper Django 5.2+ usage, Celery task definitions. |
JavaScript/Vue (.js, .vue) | .github/instructions/js.instructions.md | Vue 3 composition API standards, ES modules, strict absence of jQuery. |
Django Templates (.html) | .github/instructions/django-template.instructions.md | Structural integrity, template tag correctness, absence of inline JavaScript. |
Jinja Templates (.html, .j2) | .github/instructions/jinja.instructions.md | Syntax correctness, context safety and proper escaping. |
| Dockerfile | .github/instructions/dockerfile.instructions.md | Security, multi-stage build best practices, minimal layer size. |
TOML (.toml) | .github/instructions/toml.instructions.md | Syntax validity, uv dependency alignment (app/pyproject.toml). |
| Git Commits | .github/instructions/git-commit.instructions.md | Conventional commit formatting, descriptive bodies. |
When leaving review comments:
eventyay.* for this import instead of pretalx.*".django_scopes.scope(...) snippet.AGENTS.md or the specific file in .github/instructions/ to reinforce the source of truth.