Token导航 LogoToken导航TokenDH.com
开发规范需要联网github未标认证来源可访问许可证需确认审计提醒

angular-best-practices-rules-reviewerAngular 最佳实践 rules reviewer

Agent Skill

angular-best-practices-rules-reviewer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,681

周安装

114

GitHub Stars

31

下载量

939
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:angular-best-practices-rules-reviewer(Angular 最佳实践 rules reviewer)
来源仓库:https://github.com/alfredoperez/angular-best-practices
仓库路径:skills/angular-best-practices-rules-reviewer
安装命令:
npx skills add https://github.com/alfredoperez/angular-best-practices --skill angular-best-practices-rules-reviewer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alfredoperez/angular-best-practices --skill angular-best-practices-rules-reviewer

简介

angular-best-practices-rules-reviewer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 适用于审核 Angular 最佳实践规则的准确性、有效性与实用性,验证其是否符合官方文档与社区共识。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 和 SKILL.md 进一步确认具体用法和功能范围。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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:

CriteriaRemoveImproveKeep
Would AI make this mistake?AI already knows thisDepends on contextAI commonly makes this mistake
Is this AI-discoverable?Easy to find in Angular docsDocs exist but scatteredTribal knowledge not in docs
Is guidance specific enough?Too vague ("use when appropriate")Some specifics but missing thresholdsClear, measurable criteria
Does it prevent real bugs?Style preference onlyMinor issuesPrevents 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 type vs import {type})
  • The pattern is a naming convention (e.g., "Use PascalCase for 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., catchError placement 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., mergeMap vs switchMap)

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:

  1. Search angular.dev for the topic
  2. Check if Angular has official guidance
  3. If Angular docs cover it well, the rule should add unique value
  4. If the rule contradicts Angular docs, flag it

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.19%
按下载量换算321

Claude

29.23%
按下载量换算274

Cursor

19.28%
按下载量换算181

Gemini CLI

9.45%
按下载量换算89

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills