refine
2
总安装量
2
周安装量
#66427
全站排名
安装命令
npx skills add https://github.com/sceiler/skills --skill refine
Agent 安装分布
opencode
2
gemini-cli
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
Refine
Run a single refinement pass over the current application. Evaluate the codebase using every applicable skill available in this session, then produce a prioritized list of improvements.
How It Works
- Detect the stack â Identify the framework, language, and rendering strategy from config files (
package.json,next.config.*,app.json,tsconfig.json, etc.) - Select applicable skills â From the skills available in this session, pick every one that is relevant to the detected stack. Typical candidates:
next-best-practicesâ file conventions, RSC boundaries, data patterns, metadatanext-cache-componentsâ PPR,use cache, cacheLife/cacheTagvercel-react-best-practicesâ React & Next.js performance optimizationvercel-composition-patternsâ component API design, compound componentsvercel-react-native-skillsâ React Native / Expo performance (only if applicable)web-design-guidelinesâ accessibility, UI/UX auditagent-best-practicesâ general engineering quality
- Invoke each selected skill against the codebase to gather findings
- Deduplicate and rank â Merge overlapping findings, then sort by impact
Scope
If arguments are provided ($ARGUMENTS), limit the analysis to that path or area. Otherwise evaluate the full application.
Output Format
Present findings as a single table sorted by impact (highest first):
| # | Priority | Category | File(s) | Current | Suggested | Impact |
|---|---|---|---|---|---|---|
| 1 | Critical | Perf | app/page.tsx |
Client component fetches data on mount | Convert to server component with async data | Eliminates client waterfall, improves LCP |
Priority levels
- Critical â Major performance, accessibility, or correctness issue
- High â Meaningful UX or performance win with low effort
- Medium â Noticeable improvement, moderate effort
- Low â Polish or minor optimization
Categories
- Perf â Performance (bundle size, rendering, caching, data fetching)
- UI â Visual design, layout, responsiveness
- UX â Interaction design, navigation, feedback, loading states
- A11y â Accessibility (WCAG compliance, keyboard nav, screen readers)
- Arch â Architecture, component structure, code organization
- DX â Developer experience (types, conventions, maintainability)
Rules
- One pass only â Do not start implementing fixes. This is an evaluation.
- Be specific â Reference actual files, components, and line ranges. No vague advice.
- Show before and after â The “Current” and “Suggested” columns should contain concrete descriptions or brief code snippets, not abstract statements.
- No duplicates â If multiple skills flag the same issue, list it once under the most relevant category.
- Stay honest â If the codebase is already well-optimized in an area, say so. Don’t manufacture findings.
- Cap the list â Aim for 10â20 actionable findings. Quality over quantity.
After the Table
Provide a brief summary:
- Top 3 wins â The three changes that would deliver the most impact for the least effort
- Stack health â One sentence overall assessment (e.g., “Solid foundation with room for caching improvements”)