augmnt/webdev-skills

reviewing-code

Provides structured code review with prioritized feedback.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/augmnt/webdev-skills --skill reviewing-code

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Reviewing Code

Prioritized, actionable feedback. Assume good intent.

Priority Levels

LevelPrefixMeaning
Blocker🚨Must fix before merge
Suggestion⚠️Should consider
Nit💭Optional polish
Question❓Need clarification
Praise✨Done well

Checklist

Blockers (Security & Correctness)

  • [ ] No secrets/credentials in code
  • [ ] User input validated/sanitized
  • [ ] Auth checks present where needed
  • [ ] Edge cases handled (null, empty, errors)
  • [ ] No race conditions in async code

High Priority (Performance & Logic)

  • [ ] No N+1 queries
  • [ ] Large lists paginated
  • [ ] Expensive ops not in render loops
  • [ ] Error handling appropriate

Medium Priority (Maintainability)

  • [ ] Functions have single responsibility
  • [ ] No copy-paste duplication
  • [ ] Naming is clear

Output Format

markdown
## Summary
[Approve / Request Changes / Discuss]

## 🚨 Blockers
- `file:line` - Issue and fix

## ⚠️ Suggestions
- `file:line` - Suggestion and why

## 💭 Nits
- `file:line` - Minor improvement

## ✨ Good Stuff
- What was done well

Common Issues

React: Missing useEffect deps, state that should be derived, prop drilling TypeScript: any types, missing null checks API: Missing loading/error states, unbounded queries

For detailed React/hooks patterns and accessibility checks, see REACT-PATTERNS.md.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
augmnt
社区

organizing-project-files

Provides file organization conventions for React and Next.js projects. Use when creating new files, components, hooks, utilities, or services. Triggers on questions like "where should this go?", "where do I put this?", or when deciding between colocating vs grouping files.

1小时安装量
1
GitHub Stars
2
最近更新
1月24日
augmnt
社区

writing-commits

Generates commit messages and PR descriptions following Conventional Commits. Use when committing code, writing PR titles, reviewing git history, or when asked to describe changes. Triggers on git commit, PR creation, or changelog generation.

1小时安装量
1
GitHub Stars
2
最近更新
1月24日
augmnt
社区

writing-tests

Guides test creation with practical strategies for unit, integration, and e2e tests. Use when writing tests, deciding what to test, setting up test infrastructure, or discussing coverage. Triggers on "write tests", "should I test", "test coverage", or test file creation.

1小时安装量
1
GitHub Stars
2
最近更新
1月24日
augmnt
社区

using-cli-tools

Enforces CLI tool usage over web dashboards for reproducibility and scriptability. Use when working with Git/GitHub, Supabase, Vercel, Netlify, Cloudflare, AWS, Stripe, Prisma, Docker, or any cloud service. Triggers on deployments, database operations, migrations, PRs, issues, webhooks, or environment management.

1小时安装量
1
GitHub Stars
1
最近更新
1月24日