Agent Skillsshinpr/claude-code-workflows › recipe-quality-profile

recipe-quality-profile

GitHub

根据仓库具体上下文和证据,协商并创建或更新代码审查质量配置文件 quality.yaml。通过定义维度、适用条件和通过标准,建立仓库特定的代码审查接受策略。

dev-workflows-frontend/skills/recipe-quality-profile/SKILL.md shinpr/claude-code-workflows

Trigger Scenarios

请求创建或更新仓库质量配置 需要建立特定于仓库的代码审查规则

Install

npx skills add shinpr/claude-code-workflows --skill recipe-quality-profile -g -y
More Options

Non-standard path

npx skills add https://github.com/shinpr/claude-code-workflows/tree/main/dev-workflows-frontend/skills/recipe-quality-profile -g -y

Use without installing

npx skills use shinpr/claude-code-workflows@recipe-quality-profile

指定 Agent (Claude Code)

npx skills add shinpr/claude-code-workflows --skill recipe-quality-profile -a claude-code -g -y

安装 repo 全部 skill

npx skills add shinpr/claude-code-workflows --all -g -y

预览 repo 内 skill

npx skills add shinpr/claude-code-workflows --list

SKILL.md

Frontmatter
{
    "name": "recipe-quality-profile",
    "description": "Proposes repository-specific review policy and, after confirmation, creates or updates docs\/project-context\/quality.yaml. Use when asked to create or update a repository quality profile.",
    "disable-model-invocation": true
}

Execute Skill: llm-friendly-context before proposing profile conditions or writing the profile. Execute Skill: coding-principles to distinguish repository-owned policy from general code-quality knowledge.

Purpose

Establish repository-specific code-review acceptance conditions with the user, then create or update docs/project-context/quality.yaml.

Requested policy change: $ARGUMENTS

Profile Contract

version: 1
review_dimensions:
  - id: stable-kebab-case-id
    applies_when: Observable condition that makes this repository rule relevant to a change.
    pass: Observable accepted state to verify.
    evidence:
      - "repository/path: section, identifier, or contract"

Each dimension owns one repository-specific review decision. applies_when limits its review surface, pass defines the accepted state, and evidence identifies why the repository owns the rule.

Authoring Flow

  1. Use the current working repository as the target and read its docs/project-context/quality.yaml when present. For an existing profile, use the requested policy change as the update boundary; when none is supplied, ask for it and keep the profile unchanged.
  2. Build candidates from acceptance conditions expressed or enforced by repository instructions, contributor documentation, CI, manifests and scripts, schemas and public contracts, tests, or representative implementation patterns. For an update, derive candidates only from the requested policy change and preserve unrelated dimensions.
  3. For each candidate, inspect supporting and contradicting evidence wherever it can change the candidate's applicability, accepted state, or repository ownership. Separate observed repository facts from policy choices that require user confirmation.
  4. Retain a candidate only when failing its pass condition would change implementation acceptance and every repository fact it depends on has cited evidence. Give it the narrowest useful applies_when, one positive observable pass condition, and consolidate candidates that would produce the same finding and correction. Omit a candidate when required repository evidence is unavailable and report the exact evidence needed.
  5. Present proposed additions, changes, and removals, confirm that other dimensions remain unchanged, show the supporting and contradicting evidence, and state unresolved policy choices with their effect on review acceptance. Obtain explicit user confirmation of a proposal with no unresolved choices before writing.
  6. Write only the confirmed profile content. Read the result and verify version 1, unique IDs, all required fields, observable conditions, readable evidence references, and consistency with the confirmed proposal.

When no repository-specific dimension remains and no profile exists, report that repository evidence supports no profile content and leave the repository unchanged.

Result

Before confirmation, report:

  • proposed additions, changes, and removals, plus the unchanged remainder;
  • supporting and contradicting evidence for each modification;
  • omitted candidates and the exact missing evidence;
  • policy choices requiring the user's decision and their effect on review acceptance.

After confirmation, report:

  • the profile path and whether it was created, updated, or left unchanged;
  • dimensions added, changed, or removed;
  • evidence used for each changed dimension;
  • an exact validation limitation when the result could not be verified.

Completion Check

  • Every retained dimension changes a review decision and cites repository or user-confirmed policy evidence
  • Conditions are positive, observable, and limited by applies_when
  • The profile contains repository-specific acceptance conditions only
  • Supporting and contradicting evidence were compared where they could change the proposal
  • The user confirmed the complete proposal before the repository write
  • Dimensions outside the update boundary remain unchanged
  • The written profile satisfies the Profile Contract

Version History

  • 7b95bcd Current 2026-08-28 00:52

Same Skill Collection

dev-skills/skills/ai-development-guide/SKILL.md
dev-skills/skills/coding-principles/SKILL.md
dev-skills/skills/documentation-criteria/SKILL.md
dev-skills/skills/external-resource-context/SKILL.md
dev-skills/skills/frontend-ai-guide/SKILL.md
dev-skills/skills/implementation-approach/SKILL.md
dev-skills/skills/integration-e2e-testing/SKILL.md
dev-skills/skills/llm-friendly-context/SKILL.md
dev-skills/skills/requirement-convergence/SKILL.md
dev-skills/skills/test-implement/SKILL.md
dev-skills/skills/testing-principles/SKILL.md
dev-skills/skills/typescript-rules/SKILL.md
dev-workflows-frontend/skills/ai-development-guide/SKILL.md
dev-workflows-frontend/skills/coding-principles/SKILL.md
dev-workflows-frontend/skills/documentation-criteria/SKILL.md
dev-workflows-frontend/skills/external-resource-context/SKILL.md
dev-workflows-frontend/skills/frontend-ai-guide/SKILL.md
dev-workflows-frontend/skills/implementation-approach/SKILL.md
dev-workflows-frontend/skills/integration-e2e-testing/SKILL.md
dev-workflows-frontend/skills/llm-friendly-context/SKILL.md
dev-workflows-frontend/skills/recipe-diagnose/SKILL.md
dev-workflows-frontend/skills/recipe-front-adjust/SKILL.md
dev-workflows-frontend/skills/recipe-front-build/SKILL.md
dev-workflows-frontend/skills/recipe-front-design/SKILL.md
dev-workflows-frontend/skills/recipe-front-plan/SKILL.md
dev-workflows-frontend/skills/recipe-front-review/SKILL.md
dev-workflows-frontend/skills/recipe-task/SKILL.md
dev-workflows-frontend/skills/recipe-update-doc/SKILL.md
dev-workflows-frontend/skills/requirement-convergence/SKILL.md
dev-workflows-frontend/skills/subagents-orchestration-guide/SKILL.md
dev-workflows-frontend/skills/task-analyzer/SKILL.md
dev-workflows-frontend/skills/test-implement/SKILL.md
dev-workflows-frontend/skills/testing-principles/SKILL.md
dev-workflows-frontend/skills/typescript-rules/SKILL.md
dev-workflows-fullstack/skills/ai-development-guide/SKILL.md
dev-workflows-fullstack/skills/coding-principles/SKILL.md
dev-workflows-fullstack/skills/documentation-criteria/SKILL.md
dev-workflows-fullstack/skills/external-resource-context/SKILL.md
dev-workflows-fullstack/skills/frontend-ai-guide/SKILL.md
dev-workflows-fullstack/skills/implementation-approach/SKILL.md
dev-workflows-fullstack/skills/integration-e2e-testing/SKILL.md
dev-workflows-fullstack/skills/llm-friendly-context/SKILL.md
dev-workflows-fullstack/skills/recipe-add-integration-tests/SKILL.md
dev-workflows-fullstack/skills/recipe-build/SKILL.md
dev-workflows-fullstack/skills/recipe-design/SKILL.md
dev-workflows-fullstack/skills/recipe-diagnose/SKILL.md
dev-workflows-fullstack/skills/recipe-front-adjust/SKILL.md
dev-workflows-fullstack/skills/recipe-front-build/SKILL.md
dev-workflows-fullstack/skills/recipe-front-design/SKILL.md

Metadata

Files
0
Version
7b95bcd
Hash
090712cf
Indexed
2026-08-28 00:52

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-28 06:39
浙ICP备14020137号-1 $Carte des visiteurs$