Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

best-practice-creator最佳实践创建者

Agent Skill

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

总安装

5,051

周安装

142

GitHub Stars

1,507

下载量

1,455
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/renatoasse/opensquad --skill 'Best-Practice Creator'

简介

best-practice-creator 用于生成和维护项目最佳实践文档。

  • 适用于团队协作中标准化开发流程、规范代码风格或沉淀经验教训。
  • 自动检查现有实践是否存在重复,并推荐适配当前项目的技能组合。
  • 操作前需确认对项目文件的读写权限,防止误改或覆盖重要内容。
  • 生成的实践条目应经团队评审后纳入正式文档体系。

SKILL.md

Best-Practice Creator — Workflow

Use this workflow when creating a new best-practice file for the _opensquad/core/best-practices/ library.

Pre-flight Checks

  1. Scan existing best-practice files: Read _opensquad/core/best-practices/_catalog.yaml. Extract id, name, whenToUse, file from each entry.
  2. Check for overlap: Verify the new best-practice file doesn't duplicate an existing entry's whenToUse scope. If there's overlap, clarify the differentiation before proceeding.
  3. List available skills: Read all skills/*/SKILL.md files. Extract name, description, type from each — these may inform the best-practice file's content.

Creation Checklist

For each new best-practice file, ensure ALL of the following:

Frontmatter (YAML)

  • id: lowercase kebab-case (e.g., copywriting)
  • name: Display name for catalog listing (e.g., "Copywriting & Persuasive Writing")
  • whenToUse: Multi-line with positive scope AND "NOT for:..." negative scope referencing other best-practice IDs
  • version: "1.0.0" for new best-practice files

Body (Markdown) — All sections mandatory

  • Core Principles: 6+ numbered domain-specific decision rules, each with a bold title and detailed explanation
  • Techniques & Frameworks: Concrete methods, models, or processes practitioners use in this discipline (e.g., diagnostic steps, framework selections, structural patterns)
  • Quality Criteria: 4+ checkable criteria as - [] list that can be used to evaluate output
  • Output Examples: 2+ complete examples, 15+ lines each, realistic NOT template-like
  • Anti-Patterns: Never Do (4+) + Always Do (3+), each with explanation
  • Vocabulary Guidance: Terms/phrases to Always Use (5+), Terms/phrases to Never Use (3+), Tone Rules (2+)

Quality Minimums

SectionMinimum
Total file lines200+
Core Principles6+ numbered rules
Techniques & Frameworks3+ concrete techniques
Vocabulary Always Use5+ terms
Vocabulary Never Use3+ terms
Output Examples2 complete, 15+ lines each
Anti-Patterns (Never Do)4+
Anti-Patterns (Always Do)3+
Quality Criteria4+ checkable items

Post-Creation Steps

1. Update existing best-practice files' whenToUse

For each existing best-practice file whose scope overlaps with the new one:

  • Add a "NOT for: {overlapping-scope} → See {new-best-practice-id}" line to their whenToUse
  • Bump their version (patch increment)

2. Update _catalog.yaml

Add a new entry to _opensquad/core/best-practices/_catalog.yaml with:

  • id: matching the frontmatter id
  • name: matching the frontmatter name
  • whenToUse: single-line summary of the scope (positive only, no "NOT for")
  • file: {id}.md

Place it under the appropriate section comment (Discipline or Platform best practices).

3. File placement

Save to _opensquad/core/best-practices/{id}.md.

4. Validation

Re-read the created file and verify:

  • All checklist items above are present
  • YAML frontmatter parses correctly (no syntax errors)
  • whenToUse references only existing best-practice IDs
  • Output examples are realistic, not template placeholders
  • File exceeds 200 lines
  • Corresponding entry exists in _catalog.yaml

Best-Practice Updater — Workflow

Use this workflow when updating best-practice files in the _opensquad/core/best-practices/ library.

Versioning Rules (Semver)

Change TypeVersion BumpExamples
Patch (x.x.X)Fix typos, adjust wording, minor refinementsFix anti-pattern phrasing, correct a vocabulary term
Minor (x.X.0)Add new content, extend capabilitiesAdd new principle, new output example, new technique
Major (X.0.0)Rewrite or restructure significantlyRewrite core principles, fundamentally change scope

Always update the version field in the YAML frontmatter after any change.

Update Scenarios

When a best-practice file is removed from the library

  1. Get the removed best-practice file's id
  2. Remove its entry from _opensquad/core/best-practices/_catalog.yaml
  3. Scan ALL remaining best-practice files in _opensquad/core/best-practices/*.md
  4. For each file, check if the removed ID is referenced in whenToUse

- Look for patterns: "NOT for:... → See {removed-id}"

  1. If found, remove that "NOT for" line
  2. Bump the affected files' version (patch: x.x.X)

When a new best-practice file is added to the library

The Best-Practice Creator workflow (above) handles the initial whenToUse cross-references during creation. This section is only needed if cross-references were missed or need adjustment after the fact.

  1. Read the new best-practice file's whenToUse — identify its scope
  2. Scan existing best-practice files for overlapping scope
  3. Add "NOT for: {new-scope} → See {new-id}" where appropriate
  4. Bump affected files' version (patch)
  5. Ensure the new entry exists in _catalog.yaml

When updating a best-practice file's content

  1. Make the content changes
  2. Verify ALL mandatory sections still exist:

- Core Principles (6+ rules) - Techniques & Frameworks (3+ techniques) - Quality Criteria (4+ checkable items) - Output Examples (2+ complete examples) - Anti-Patterns (Never Do + Always Do) - Vocabulary Guidance (Always Use, Never Use, Tone Rules)

  1. Bump version according to semver rules above
  2. If the whenToUse scope changed, update cross-references in other best-practice files and in _catalog.yaml

When updating a best-practice file's whenToUse scope

This is the most impactful change — it affects how the Architect selects best practices during squad creation.

  1. Document the old scope and new scope
  2. Update the best-practice file's whenToUse field
  3. Scan ALL other best-practice files' whenToUse for references to this ID
  4. Update cross-references to reflect the new scope
  5. Update the whenToUse summary in _catalog.yaml
  6. Bump version (minor if scope expanded, patch if scope narrowed)

Validation Checklist

After ANY update, verify:

  • Version was bumped correctly (patch/minor/major per rules above)
  • All mandatory sections still present and non-empty
  • whenToUse cross-references are consistent across ALL best-practice files
  • No broken cross-references to removed best-practice IDs
  • Output examples are still realistic and complete
  • File still exceeds 200 lines minimum
  • _catalog.yaml entry is in sync with frontmatter (id, name, whenToUse)

Bulk Operations

Verify catalog consistency

Read _opensquad/core/best-practices/_catalog.yaml
For each entry in catalog:
  1. Verify _opensquad/core/best-practices/{entry.file} exists
  2. Read the file's frontmatter
  3. Verify entry.id matches frontmatter id
  4. Verify entry.name matches frontmatter name
  5. Flag any mismatches

For each .md file in _opensquad/core/best-practices/ (excluding _catalog.yaml):
  1. Verify a corresponding entry exists in _catalog.yaml
  2. Flag any orphaned files with no catalog entry

Verify cross-reference consistency

For each best-practice file A in _opensquad/core/best-practices/*.md:
  For each "NOT for: ... → See {id}" in A.whenToUse:
    1. Verify _opensquad/core/best-practices/{id}.md exists
    2. Verify {id}'s whenToUse covers the referenced scope
    3. Flag inconsistencies

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.69%
按下载量换算563

Claude

29.05%
按下载量换算423

Cursor

18.78%
按下载量换算273

Gemini CLI

9.59%
按下载量换算140

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills