一键导入
ll-patch-capture
ADR-049 governed skill for dual-path experience patch registration (Prompt-to-Patch + Document-to-SRC routing) with tri-classification grading.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ADR-049 governed skill for dual-path experience patch registration (Prompt-to-Patch + Document-to-SRC routing) with tri-classification grading.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
ADR-047 governed skill for initializing an API coverage manifest (api-coverage-manifest.yaml) from an api-test-plan, with capability × dimension expansion and four-dimensional status fields.
ADR-047 governed skill for generating structured API test specs from coverage items in api-coverage-manifest.yaml, with evidence_required, anti_false_pass_checks, and cleanup requirements.
ADR-047 governed skill for initializing an E2E coverage manifest (e2e-coverage-manifest.yaml) from an e2e-journey-plan, with four-dimensional status fields and journey-based coverage items.
ADR-047 governed skill for generating structured E2E journey specs from coverage items in e2e-coverage-manifest.yaml, with user steps, UI states, network events, anti_false_pass_checks, and evidence requirements.
ADR-047 governed skill for transforming one frozen FEAT into an API test plan (api-test-plan.md) with capability extraction, dimension matrix, and priority-based cut rules.
ADR-047 governed skill for deriving user journeys from a frozen prototype (or feat) and generating an E2E journey plan (e2e-journey-plan.md) with main journeys and minimum exception journeys.
| name | ll-patch-capture |
| description | ADR-049 governed skill for dual-path experience patch registration (Prompt-to-Patch + Document-to-SRC routing) with tri-classification grading. |
This skill implements the ADR-049 dual-path experience patch registration. It accepts either free-form user prompts describing a UX change or structured documents from upstream product workflows, classifies the input via tri-classification (visual/interaction/semantic), derives Minor/Major grade level, and routes it to generate a properly structured experience patch.
ssot/adr/ADR-049-引入体验修正层-Experience-Patch-Layer.mdssot/adr/ADR-050-SSOT语义治理总纲.md §6 (change grading)ll-product-raw-to-src outputll-experience-patch-settle (Minor settle) / ll-frz-manage --type revise (Major)ssot/adr/ADR-038-运行时核心抽象边界与对象分层基线.MD.Skill for Experience Change -> Patch Registration.ll.contract.yamlinput/contract.yamloutput/contract.yamlagents/executor.mdagents/supervisor.mdinput/semantic-checklist.mdoutput/semantic-checklist.md"prompt" (free-form text) or "document" (file path to structured document).
2b. Tri-classification: Classify input as visual, interaction, or semantic. Scan ALL indicator lists using skills/ll-patch-capture/scripts/patch_capture_runtime.py classify_change(). If semantic indicator matches -> GradeLevel.MAJOR (semantic dominates). If multiple same-grade dimensions (e.g., visual + interaction) -> confidence=medium. If no indicators match -> fallback to file-pattern classification via _fallback_classify_by_paths() (replicates _suggest_change_class from cli/lib/patch_auto_register.py). Set needs_human_review=True for low-confidence cases.
3a. Prompt-to-Patch path: Executor Agent analyzes change description, generates Patch YAML draft with all fields pre-filled per ADR-049 decision tree. Set grade_level, dimensions_detected, confidence, and needs_human_review fields based on classification result. Use cli/lib/patch_schema.py derive_grade() for deterministic mapping. Writes to ssot/experience-patches/{FEAT-ID}/UXPATCH-NNNN__{slug}.yaml.
3b. Document-to-SRC path: Route to ll-product-raw-to-src skill; if experience-layer change detected, generate semantic Patch with resolution.src_created = SRC ID.cli/lib/patch_schema.py, checks for conflicts, decides auto-pass vs escalate to human.patch_registry.json, emit "已登记 UXPATCH-XXXX" notification.ssot/experience-patches/{FEAT-ID}/ + updated patch_registry.jsoncli/lib/patch_schema.py validate_file).source.human_confirmed_class as null — must match source.ai_suggested_class in auto-pass mode.ll-product-raw-to-src; this skill only routes and associates.UXPATCH-NNNN format derived from patch_registry.json max sequence number.derive_grade(). If needs_human_review=True, flag for human confirmation before proceeding.other fallback to handle unknown values gracefully (backward-compat requirement).| Top-Level Class | Sub-Classes | Grade Level | Routing |
|---|---|---|---|
| visual | ui_flow, copy_text, layout, navigation, data_display, accessibility | Minor | ll-experience-patch-settle |
| interaction | interaction | Minor | ll-experience-patch-settle (backwrite to UI Spec, Flow Spec, TESTSET) |
| semantic | semantic | Major | ll-frz-manage --type revise (FRZ re-freeze) |
| other | — | Minor (human can escalate) | ll-experience-patch-settle |
Confidence levels:
high: Single dimension matched with no ambiguitymedium: Multiple same-grade dimensions matched, or semantic dominates mixed inputlow: Fallback to file-pattern classification or no indicators matched -> needs_human_review=True