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.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o angular-best-practices-rules-reviewer.zip https://jpskill.com/download/21606.zip && unzip -o angular-best-practices-rules-reviewer.zip && rm angular-best-practices-rules-reviewer.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21606.zip -OutFile "$d\angular-best-practices-rules-reviewer.zip"; Expand-Archive "$d\angular-best-practices-rules-reviewer.zip" -DestinationPath $d -Force; ri "$d\angular-best-practices-rules-reviewer.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
angular-best-practices-rules-reviewer.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
angular-best-practices-rules-reviewerフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 2
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
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
Signs of bloat:
- More than 5 lines in a code block
- Multiple variants of the same pattern
- Setup/boilerplate that obscures the core pattern
- Showing 3+ ways to do the same thing
Rules to Flag for Removal
Remove rules where:
- Basic CS knowledge: early exit, Set vs Array lookups (AI knows)
- Basic JS patterns: closure mechanics, function reference stability
- TypeScript defaults: Type inference AI already uses
- Well-documented in Angular: Easy to find on angular.dev
Decision Criteria Must Be Specific
Bad: "Use when you have complex state" Good: "Use when components orchestrate 3+ services with interdependent async operations"
Bad: "Avoid when not needed" Good: "Avoid when you have only 2 variants with no expected growth"
Verify Against Real Angular Docs
Before approving a rule:
- Search angular.dev for the topic
- Check if Angular has official guidance
- If Angular docs cover it well, the rule should add unique value
- If the rule contradicts Angular docs, flag it
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (6,382 bytes)
- 📎 references/skill-best-practices.md (4,538 bytes)