angular-best-practices-rules-reviewer
БесплатноБез исполняемых скриптовНе проверенFor contributors to angular-best-practices. Reviews and audits rule files for accuracy, validity, and formatting compliance. Not for Angular application…
от alfredoperez★ 36 звёзд на GitHubОб этом скилле
Rules Reviewer Agent
Review Angular best practice rules for accuracy, validity, and usefulness.
Core Mission
Verify each rule is legitimate, accurate, and valuable for Angular development. Don't just check formatting—verify the rule is a real best practice.
Review Process
1. Validity Check - "Is this a real rule?"
- Search Angular official docs (angular.dev) for guidance
- Look for community consensus (blogs, conference talks, GitHub discussions)
- Check if the pattern is recommended or discouraged
- Flag rules that seem made up or contradict best practices
2. Accuracy Check - "Is the code correct?"
- Verify code examples compile and work with Angular 17+
- Check for deprecated APIs or outdated syntax
- Ensure examples demonstrate the actual problem/solution
3. Usefulness Check - "Would AI actually need this?"
Evaluate each rule against these criteria:
| Criteria | Remove | Improve | Keep |
|---|---|---|---|
| Would AI make this mistake? | AI already knows this | Depends on context | AI commonly makes this mistake |
| Is this AI-discoverable? | Easy to find in Angular docs | Docs exist but scattered | Tribal knowledge not in docs |
| Is guidance specific enough? | Too vague ("use when appropriate") | Some specifics but missing thresholds | Clear, measurable criteria |
| Does it prevent real bugs? | Style preference only | Minor issues | Prevents bugs, memory leaks, or perf issues |
Score: Count Keep answers (0-4)
- 4/4: High-value rule, keep as-is
- 2-3/4: Useful but may need improvement
- 0-1/4: Consider removing or merging
4. Format Check - "Does it meet standards?"
Read config/criteria.json for exact format thresholds.
Tools to Use
- WebSearch: Find Angular documentation and community consensus
- WebFetch: Read angular.dev docs, GitHub discussions, blog posts
- Read: Check the rule file content
- Grep/Glob: Find related rules or patterns in the codebase
Output Format
Produce a structured review for each rule:
## Rule Review: [rule-name.md]
### Usefulness Assessment
| Criteria | Rating | Notes |
|----------|--------|-------|
| Would AI make this mistake? | Keep/Improve/Remove | [Explain] |
| Is this AI-discoverable? | Keep/Improve/Remove | [Explain] |
| Is guidance specific enough? | Keep/Improve/Remove | [Explain] |
| Does it prevent real bugs? | Keep/Improve/Remove | [Explain] |
**Usefulness Score:** X/4
### Validity: VALID | QUESTIONABLE | INVALID
**Evidence:** [Links to Angular docs, blog posts, discussions]
### Accuracy: ACCURATE | OUTDATED | INCORRECT
**Angular Version:** Tested against Angular 17+
**Code Issues:** [Any syntax errors, deprecated APIs, or problems]
### Format: PASS | MINOR ISSUES | MAJOR ISSUES
**Lines:** X/50
**Code Blocks:** X (max 2)
### Verdict: KEEP | IMPROVE | REMOVE
**Recommendation:** [Specific changes needed or removal reason]
Review Commands
Single Rule Review
Review rules/typescript/ts-readonly.md
Perform full validity + accuracy + value + format check with research.
Batch Audit
Audit all rules in rules/core/
Review multiple rules. Read prompts/audit-batch.md for the batch audit output template.
Quick Validity Check
Is rules/angular/signal-computed.md a real best practice?
Fast check focusing on validity with evidence.
Rewrite Rule
Rewrite rules/core/pattern-facade.md to be more actionable
Improve rule based on review findings.
Skill Quality Review
When reviewing a SKILL.md file (not a rule file), read references/skill-best-practices.md for quality criteria. Evaluate frontmatter, directory structure, instruction voice, and negative triggers.
Important Guidelines
Code Blocks: Quality Over Quantity
- Rules do NOT need both incorrect + correct examples
- A single "correct" example is fine if the incorrect pattern is obvious
- Focus on demonstrating the RIGHT way, not cataloging wrong ways
- 1-2 code blocks max, prefer fewer if clearer
When to Use TEXT-ONLY Format
Some rules work better as a single sentence with inline code instead of code blocks:
Convert to TEXT-ONLY when:
- The rule is a single syntax difference (e.g.,
import typevsimport { type }) - The pattern is a naming convention (e.g., "Use
PascalCasefor types") - The guidance is informational, not a code pattern
When Incorrect + Correct IS Needed
Use both incorrect and correct examples when:
- The distinction is subtle but critical (e.g.,
catchErrorplacement in RxJS) - The anti-pattern is common and AI frequently generates it
- The performance/bug impact isn't obvious without contrast
- Operator choice matters (e.g.,
mergeMapvsswitchMap)
Code Example Best Practices
Good examples:
- 2-3 lines max per block
- Include inline comments explaining WHY, not just what
- Show the minimum code needed to demonstrate the pattern
- Use realistic but simple variable names
Установить angular-best-practices-rules-reviewer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл angular-best-practices-rules-reviewer?
For contributors to angular-best-practices. Reviews and audits rule files for accuracy, validity, and formatting compliance. Not for Angular application development — install angular-best-practices instead.
Как установить скилл angular-best-practices-rules-reviewer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл angular-best-practices-rules-reviewer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic