skills/ai-feedback-collector/SKILL.md
Use this skill when a user wants to report, collect, normalize, classify, or template feedback about problems encountered while using AI tools in any scenario, including coding agents, chatbots, office assistants, search, writing, data analysis, or internal AI systems. The skill converts free-form problem descriptions into a structured feedback report with explicit labels, problem category, severity, scenario, impact, and follow-up questions.
npx skillsauth add openharmonyinsight/openharmony-skills ai-feedback-collectorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to turn free-form feedback about AI tool usage into a structured, objective issue report.
The goal is collection and normalization, not troubleshooting. Preserve the user's original meaning, avoid over-interpreting sparse descriptions, and make the output easy to paste into an issue tracker, spreadsheet, chat thread, or internal feedback system.
unknown instead of inventing details.references/label-taxonomy.md when needed.## AI Usage Feedback
### Title
<One concise sentence describing the issue.>
### Summary
<Objective summary of what happened, based only on the user's description.>
### Original Description
<Preserve the user's original wording.>
### Scenario
- Tool: `<tool-name-or-unknown>`
- Scenario: `<scenario-label>`
- Task Type: `<task-label>`
- Workflow Stage: `<stage-label-or-unknown>`
- Affected User/Role: `<role-or-unknown>`
### Problem Category
- Primary Category: `<category-label>`
- Secondary Categories: `<category-label-or-none>`
- Classification Confidence: `<high|medium|low|unknown>`
- Evidence: `<short reason based on the user's description>`
### Labels
- `tool:<value>`
- `category:<value>`
- `scenario:<value>`
- `task:<value>`
- `issue:<value>`
- `capability:<value>`
- `severity:<value>`
- `frequency:<value>`
### Impact
<Describe the likely impact on efficiency, quality, trust, cost, or safety. If unclear, say unknown.>
### Possible Causes
<Optional. List only reasonable hypotheses and make uncertainty clear.>
### Improvement Direction
<How this feedback could help improve AI-assisted R&D, such as model behavior, tool integration, environment setup, prompt/workflow design, business requirement capture, or developer enablement.>
### Suggested Additional Information
- <Specific detail that would help triage the issue.>
- <Specific detail that would help reproduce or understand impact.>
### Suggested Routing
<One or more of: product experience, model capability, tool integration, environment setup, business analysis, prompt/workflow design, permissions/data access, documentation/training, safety/compliance, unknown.>
Use compact machine-readable labels. Prefer lowercase kebab-case values.
Required label families:
tool: the AI product or agent involved.category: the likely root problem class for statistical analysis and improvement planning.scenario: the broad usage scenario.task: the user's intended task.issue: the observed failure mode.capability: the likely AI capability area involved.severity: estimated impact level.frequency: how often it appears to occur.If the report spans multiple issue types, include multiple issue: labels. If a field is not stated or cannot be safely inferred, use unknown.
Read references/label-taxonomy.md when you need canonical label values or severity rules.
Use category: to answer "what kind of improvement would most likely prevent this problem from happening again?"
category:model-capability: The AI misunderstood context, reasoned poorly, hallucinated, failed to plan, ignored instructions, used tools incorrectly, or repeated a failing strategy despite adequate task context and environment.category:environment-tooling: The issue appears caused by local environment, dependencies, build/test setup, IDE/CLI integration, tool permissions, network, unavailable commands, or unreliable tool execution.category:business-context-clarity: The user, team, or AI did not have a clear enough description of the business goal, product rule, domain concept, acceptance criteria, edge case, or desired behavior.category:workflow-process: The issue comes from how the AI-assisted R&D workflow is organized, such as missing review gates, unclear handoff, weak task decomposition, no test strategy, or no rollback/checkpoint habit.category:user-skill-training: The main gap is likely prompt writing, AI usage habits, expectation setting, or knowing how to provide context and verify output.category:data-permission: The AI could not access required files, repositories, documents, logs, credentials, private data, or knowledge sources.category:safety-compliance: The issue involves privacy, security, compliance, unsafe code changes, or irreversible actions.category:unknown: The description is insufficient to classify responsibly.Prefer one primary category. Add secondary categories only when they are clearly relevant. Set confidence to low when the category is mostly inferred.
severity:low: Minor inconvenience, easy workaround, little business impact.severity:medium: Noticeable efficiency or quality impact, but user can recover.severity:high: Blocks a task, causes significant rework, or affects multiple users.severity:critical: Causes data loss, security/privacy risk, production impact, compliance exposure, or unsafe irreversible action.Input:
I was using opencode to modify an API. The model kept editing the wrong files, and after tests failed repeatedly, it did not change its approach.
Output:
## AI Usage Feedback
### Title
opencode repeatedly edited the wrong files during an API change task
### Summary
The user was using opencode to modify an API, but the AI repeatedly edited incorrect files and kept rerunning failing tests without changing its approach.
### Original Description
I was using opencode to modify an API. The model kept editing the wrong files, and after tests failed repeatedly, it did not change its approach.
### Scenario
- Tool: `opencode`
- Scenario: `coding`
- Task Type: `api-change`
- Workflow Stage: `implementation-and-verification`
- Affected User/Role: `developer`
### Problem Category
- Primary Category: `model-capability`
- Secondary Categories: `workflow-process`
- Classification Confidence: `medium`
- Evidence: The description says the AI repeatedly edited the wrong files and did not change strategy after test failures.
### Labels
- `tool:opencode`
- `category:model-capability`
- `scenario:coding`
- `task:api-change`
- `issue:wrong-file-edit`
- `issue:repeated-failure`
- `capability:planning`
- `capability:context-management`
- `severity:medium`
- `frequency:unknown`
### Impact
The issue likely reduced development efficiency and increased manual review, rollback, and debugging effort.
### Possible Causes
The AI may have failed to build an accurate codebase map, preserve task context, or revise its plan after repeated test failures.
### Improvement Direction
Improve the coding agent's repository understanding, failure recovery behavior, and guardrails for changing files only after confirming the relevant code path.
### Suggested Additional Information
- Which files were expected to change and which files were incorrectly modified.
- The failing test command and error output.
- Whether similar behavior has happened in other tasks.
### Suggested Routing
model capability, prompt/workflow design
development
Run local code quality checks covering a subset of OpenHarmony gate CI (copyright, CodeArts C/C++) plus additional local checks (pylint/flake8, shellcheck/bashate, gn format). Use before committing to reduce gate failures. Triggers on: /oh-precommit-codecheck, "门禁检查", "门禁预检", "检查代码", "run codecheck", "check code quality", "lint my code", "代码检查", or after completing code implementation. WHEN to use: before git commit, before creating PR, after modifying C/C++/Python/Shell/GN files, when gate CI fails with codecheck defects, or when you want to preview what gate will flag.
development
OpenHarmony PR full lifecycle workflow. Five modes: - Commit: standardized commit with DCO sign-off and Issue linking - Create PR: commit + push to fork + create Issue + create PR on upstream - Fix Codecheck: fetch gate CI codecheck defects from a PR and auto-fix them - Review PR: fetch a PR's changes to local for code review - Fix Review: fetch unresolved review comments from a PR and auto-fix them Triggers on: /oh-pr-workflow, "提交代码", "创建PR", "提个PR", "commit", "修复告警", "修复门禁", "修复codecheck", "fix codecheck", "review pr", "review这个pr", "看下这个pr", "检视pr", "修复review", "修复检视意见", "fix review", or a GitCode PR URL with fix/review intent.
testing
分析 HM Desktop PRD 文档,提取需求信息、验证完整性、检查章节顺序(需求来源→需求背景→需求价值分析→竞品分析→需求描述)、检查 KEP 定义、检测需求冲突并生成结构化分析报告。适用于用户请求:(1) 分析或审查 PRD 文档, (2) 从需求中提取 KEP 列表, (3) 检查 PRD 完整性或一致性, (4) 将需求映射到模块架构, (5) 验证 PRD 格式合规性, (6) 验证竞品分析章节完整性。关键词:PRD分析, requirement extraction, KEP验证, completeness check, chapter order validation, 竞品分析检查, analyze PRD, 需求提取, 完整性检查, 章节顺序验证
development
基于 PRD 文档自动生成鸿蒙系统设计文档,包括架构设计文档和功能设计文档。生成前会分析 OpenHarmony 存量代码结构,确保与现有架构兼容。架构设计文档第2章必须为竞品方案分析,位于需求背景之后。适用于用户请求:(1) 生成架构设计文档, (2) 生成功能设计文档, (3) 从 PRD 生成设计文档, (4) 创建系统架构设计, (5) 编写功能规格说明, (6) 分析 OH 代码结构。关键词:architecture design, functional design, design doc, 竞品方案分析, OpenHarmony code analysis, 架构设计, 功能设计, 设计文档生成, OH代码分析, analyze codebase, competitor analysis