Token导航 LogoToken导航

Agent Skill · 开发规范

best-practices-check(最佳实践检查)

best-practices-check 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

best-practices-check 是开发规范类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发规范类的 1,265 个 Skill 里排第 709。

总安装 559周安装 24GitHub Stars 306下载 196核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/microsoft/skills-for-fabric --skill best-practices-check

这个 Skill 是做什么的

开发规范类 Skill 用来统一代码风格、目录结构和评审口径,产出多为检查清单或改写建议。

best-practices-check 验证技能是否符合 Microsoft Fabric 官方规范。适用于技能发布前合规审查或内容更新后的有效性确认。对照社区源和官方文档检查模式覆盖度和时效性。需确保运行环境有足够权限读取目标技能和依赖文件。审计结果仅作参考,实际部署前应由责任人二次确认。

来源仓库内路径:skills/best-practices-check

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/microsoft/skills-for-fabric --skill best-pract…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

best-practices-check 怎么安装?

在终端执行 npx skills add https://github.com/microsoft/skills-for-fabric --skill best-practices-check。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

best-practices-check 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

best-practices-check 需要什么权限?

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

best-practices-check 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

best-practices-check 用的人多吗?

公开数据是累计安装 559 次,近一周安装 24 次,下载 196 次,GitHub 306 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

best-practices-check 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发规范类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发规范类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
vercel-react-best-practices

Vercel React 最佳实践 · Codex、Claude

8,490,72025,918操作浏览器MIT通过
web-design-guidelines

网页设计指南 · Codex、Claude

6,686,01625,885需要联网MIT有提醒
remotion-best-practices

Remotion 最佳实践 · Codex、Claude

6,505,6323,027操作浏览器MIT有提醒
supabase-postgres-best-practices

Supabase Postgres 最佳实践 · Codex、Claude

3,175,5232,030需要联网MIT通过
next-best-practices

Next.js 最佳实践 · Codex、Claude

1,848,240841操作浏览器MIT通过
best-practices-check

最佳实践检查 · 本页

559306需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Best Practices Verification

Verify that skills in this repository align with current Microsoft Fabric best practices from official documentation and community sources.

When to Use

  • After creating or updating a skill
  • To ensure a skill covers recommended patterns
  • To identify gaps in guidance
  • Before major releases to validate content currency

Workflow

Step 1: Identify Target Skill

Parse the user's request to identify which skill to verify:

User RequestTarget Skill
"check best practices for spark consumption"spark-consumption-cli
"validate best practices for sqldw authoring"sqldw-authoring-cli
"best practices for medallion"skills/e2e-medallion-architecture/SKILL.md
"check best practices for SQL endpoint"sqldw-consumption-cli

Skill name normalization:

  • "spark" → spark-authoring-cli or spark-consumption-cli (ask if ambiguous)
  • "sqldw", "warehouse", "SQL endpoint" → sqldw-authoring-cli or sqldw-consumption-cli
  • "medallion", "bronze/silver/gold" → skills/e2e-medallion-architecture/SKILL.md
  • "data engineering" → spark-authoring-cli

Step 2: Read Skill Content

Load the target skill's SKILL.md and any referenced resources:

# Example: Read skill content
cat skills/spark-consumption-cli/SKILL.md

# If skill has resources folder, read those too
ls skills/spark-consumption-cli/resources/ 2>/dev/null && \
  cat skills/spark-consumption-cli/resources/*.md

Extract key topics covered:

  • Must/Prefer/Avoid guidance
  • Specific patterns mentioned
  • Technologies referenced
  • Example scenarios

Step 3: Search for Current Best Practices

Use web search to find current Microsoft Fabric best practices. Always include "Microsoft Fabric" in search queries to ensure results are Fabric-specific.

Search queries to execute (adjust based on skill topic):

Skill TypeSearch Queries
Spark/Data Engineering"Microsoft Fabric Spark best practices 2025", "Fabric Lakehouse optimization", "Fabric notebook development best practices"
SQL Endpoint/Warehouse"Microsoft Fabric Data Warehouse best practices", "Fabric T-SQL performance optimization", "Fabric SQL endpoint security best practices"
Medallion Architecture"Microsoft Fabric medallion architecture best practices", "Fabric Bronze Silver Gold layer design", "Fabric lakehouse data modeling"
General"Microsoft Fabric {topic} best practices", "Fabric {topic} performance tuning", "Fabric {topic} security"

Priority sources (weight these higher):

  1. learn.microsoft.com/en-us/fabric/ — Official Microsoft documentation
  2. blog.fabric.microsoft.com/ — Official Fabric blog
  3. techcommunity.microsoft.com/ — Microsoft Tech Community
  4. Recent conference talks (Ignite, Build) transcripts
  5. Fabric CAT team blogs and whitepapers

Step 4: Compare and Analyze

Create a comparison matrix:

| Best Practice | Source | Covered in Skill? | Notes |
|---------------|--------|-------------------|-------|
| Use starter pools for Livy sessions | MS Docs | ✅ Yes | Session Management |
| Enable adaptive query execution | Tech Community | ⚠️ Partial | Mentioned but no config example |
| Avoid SELECT * on large tables | MS Docs | ✅ Yes | Avoid section |
| Use V-Order for read-heavy workloads | Fabric Blog | ❌ No | Gap - should add |

Step 5: Generate Report

Produce a structured report:

## Best Practices Verification Report

**Skill:** spark-consumption-cli
**Date:** {current_date}
**Sources Consulted:** {list_of_sources}

### Summary

| Category | Count |
|----------|-------|
| ✅ Covered | X |
| ⚠️ Partial | Y |
| ❌ Gap | Z |

### Fully Covered Best Practices

1. **{Practice Name}** — {brief description}
   - Source: {URL}
   - Skill location: {section reference}

### Partially Covered (Needs Enhancement)

1. **{Practice Name}** — {what's missing}
   - Source: {URL}
   - Current coverage: {what exists}
   - Recommendation: {specific improvement}

### Gaps (Not Covered)

1. **{Practice Name}** — {description}
   - Source: {URL}
   - Why important: {impact}
   - Suggested addition: {where to add and what content}

### Recommendations

1. {Priority 1 recommendation}
2. {Priority 2 recommendation}
3. {Priority 3 recommendation}

Must

  • Always search with "Microsoft Fabric" in query — generic Spark/SQL results may not apply
  • Cite sources for every best practice identified
  • Read the actual skill content before comparing — don't assume
  • Distinguish between authoring and consumption — best practices differ
  • Check publication dates — prefer content from 2024-2025; flag older sources
  • Focus on actionable gaps — prioritize high-impact missing guidance

Prefer

  • Official Microsoft documentation over community posts
  • Recent content (last 12 months) over older articles
  • Fabric-specific guidance over generic Spark/SQL advice
  • Concrete, implementable recommendations over vague suggestions
  • Linking to common/ documents for foundational patterns
  • Grouping related gaps into single recommendations

Avoid

  • Generic cloud data platform advice not specific to Fabric
  • Outdated patterns (pre-GA Fabric guidance may be obsolete)
  • Nitpicking minor omissions — focus on material gaps
  • Recommending changes that duplicate content in common/ files
  • Suggesting additions that would exceed skill token budget (15K warning threshold)

Example Usage

User Prompt

"Check best practices for spark consumption"

Expected Response

## Best Practices Verification: spark-consumption-cli

**Sources consulted:**
- Microsoft Learn: Fabric Spark development best practices
- Fabric Blog: Optimizing Livy sessions
- Tech Community: Fabric Lakehouse query patterns

### Summary: 8 covered, 2 partial, 3 gaps

### ✅ Fully Covered
1. **Session reuse over creation** — Skill explicitly checks for idle sessions (Must section)
2. **Use starter pools** — Configured in session creation (Must section)
3. **Avoid large result sets without LIMIT** — In Avoid section

### ⚠️ Partial Coverage
1. **Adaptive query execution** — Mentioned in config but no explanation of when to enable/disable
   - Recommendation: Add brief guidance on AQE tuning for different workload types

### ❌ Gaps
1. **Caching strategies for repeated queries**
   - Source: [MS Learn - Spark caching](https://learn.microsoft.com/...)
   - Recommendation: Add section on `.cache()` and `.persist()` for iterative analysis

2. **Cross-workspace query patterns**
   - Source: [Fabric Blog - Multi-workspace analytics](https://blog.fabric.microsoft.com/...)
   - Recommendation: Add example of querying across workspaces with proper shortcuts

### Priority Recommendations
1. Add caching guidance to Prefer / Data Exploration section
2. Expand AQE documentation with workload-specific configs
3. Add cross-workspace query example

Integration with Quality Check

Run this skill after the quality-check skill:

  1. quality-check validates structure and compliance
  2. best-practices-check validates content quality and completeness

Together they ensure skills are both well-formed and comprehensive.

Limitations

  • Web search results may vary; re-run periodically
  • Some best practices are context-dependent — use judgment
  • New Fabric features may not have documented best practices yet
  • Enterprise-specific guidance (security, compliance) may require internal sources

平台分布

Codex

35.46%
按下载量换算70

Claude

31.61%
按下载量换算62

Cursor

17.44%
按下载量换算34

Gemini CLI

9.72%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills