可用于为 AI 助手提供结构化的代码审查指导,包含 OpenHarmony 整体及领域总结的可重用技能,如安全审查、PRD 文档分析与优化、设计文档及代码生成等。【此简介由AI生成】
文件 最后提交记录 最后更新时间 fix: remove __pycache__/.pyc, workspace.yaml lists both plugins - Remove committed __pycache__/odk_yaml.cpython-314.pyc (BLOCKER) - workspace.yaml: add ohos-sdd plugin entry (BLOCKER — prevent merge conflict) - provenance.yaml importedAt updated by publish script re-sync Addresses PR #1 review: BLOCKER 1 (workspace.yaml) + BLOCKER 2 (__pycache__) 2 个月前 docs: clarify repo naming with example comparison - Add section on repository name usage - Show correct vs incorrect example - Emphasize: use exact repo name from DeepWiki - Correct: openharmony/distributeddatamgr_datamgr - Incorrect: openharmony/distributeddata_datamgr (extra 'a') Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7 个月前 !2 merge feat/ohos-sdd-workflow into main feat: add ohos-sdd workflow plugin Created-by: oshunter Commit-by: oshunter Merged-by: oshunter Description: ## Summary Import ohos-sdd as a neutral-source workflow plugin, following the same structure convention as the ODK workflow plugin (separate PR). ## What's Included - .ohos-agent/workspace.yaml — workspace registry (ohos-sdd plugin only) - workflows/ohos-sdd/plugin.yaml — neutral manifest with unified ASSET_ROOT variable - workflows/ohos-sdd/provenance.yaml — source tracking - workflows/ohos-sdd/hooks/session-router.yaml — declarative session-start hook - workflows/ohos-sdd/prompts/session-router.md — router prompt - workflows/ohos-sdd/skills/ — 10 ohos-sdd skills (synced from source) - workflows/ohos-sdd/runtime/assets/ — templates, profiles, contracts, workflow, analysis, cli, security-guide, examples ## Key Differences from ODK Plugin - No executable (no validator) - Additional assets: workflow/, analysis/, cli/ - security-guide.md included (referenced by skills for security checks) - Skills use {{ASSET_ROOT}} placeholder (synced from source {{PLUGIN_ROOT}}) ## Dependencies - **spec-for-ai PR #46 ** — placeholder unification ( shared/ohos-sdd/ to {{PLUGIN_ROOT}}/) — must merge first - **ohos-marketplace PR #7 ** — publish script with --target openharmony-skills — for ongoing sync ## Sync Method bash ohos-marketplace/scripts/publish-plugins.sh --target openharmony-skills --plugin ohos-sdd Source: oshunter/spec-for-ai dev branch (after PR #46 merge) ## Design See ohos-marketplace/docs/openharmony-skills-channel-design.md for the full design. See merge request: oshunter/openharmony-skills !2 2 个月前 'PRD文档优化、根据PRD生成设计文档、根据设计文档生成代码skill'
7 个月前 feat: update oh-context-builder with GitCode API test results - Added test_gitcode_api.py for testing GitCode API access - Updated SKILL.md based on test findings - Clarified data source priorities: DeepWiki MCP > Local > GitCode API - Documented that GitCode API requires authentication (403 Forbidden) - Noted that raw URLs return HTML, not raw content - Recommended DeepWiki MCP as primary source (no config needed) - GitCode API requires PAT token for authenticated access Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7 个月前
OpenHarmony Skills
OpenHarmony 代码审查技能仓库,为 AI 助手提供结构化的代码审查指导。
简介
本仓库包含可重用的 OpenHarmony Skills。包括 OpenHarmony 整体可用的 Skills 和 领域总结的 Skills
适用场景
技能列表
openharmony-security-review
OpenHarmony C++ 系统服务安全审查技能,专注于识别以下安全风险:
外部输入处理 - IPC 反序列化验证、网络数据解析
多线程与并发 - 容器线程安全、死锁预防、TOCTOU 漏洞
敏感信息保护 - PII 数据脱敏、ASLR 绕过防护
权限验证 - 特权操作权限检查
使用条件:
审查 OpenHarmony C++ 系统服务代码(xxxService、xxxStub 实现)
代码处理 IPC(MessageParcel)或网络数据
代码存在多线程共享状态访问
代码执行用户数据或指针日志记录
如何使用
在 Claude Code 中使用
将本仓库克隆到本地
在 Claude Code 中配置技能路径
当需要审查代码时,Claude 会自动调用相关技能
添加新Skills
在 skills/ 目录下创建新文件夹
Skills文档
建议使用 skill-creator 或者其它 skill 辅助生成 skill
仓库结构
openharmony-skills/
├── skills/ # 技能根目录
│ └── openharmony-security-review/ # 安全审查技能
│ └── SKILL.md # 技能定义文件
│ └── oh-pdd-prd-analysis/ # 优化已有的PRD文档
│ └── SKILL.md # 技能定义文件
│ └── oh-pdd-design-doc-generator/ # 根据PRD文档生成架构设计和功能设计文档
│ └── SKILL.md # 技能定义文件
│ └── oh-pdd-code-generator/ # 根据架构设计和功能设计生成功能代码
│ └── SKILL.md # 技能定义文件
└── README.md # 本文件
贡献
欢迎提交新的技能定义或改进现有技能。提交前请确保:
遵循现有的技能结构和格式
提供清晰的代码示例(反模式 vs 安全模式)
包含 DOT 图决策树
说明规则的原理和验证方法
相关资源
许可证
请查看 LICENSE 文件了解许可证信息。
联系方式
如有问题或建议,请提交 Issue 或 Pull Request。
可用于为 AI 助手提供结构化的代码审查指导,包含 OpenHarmony 整体及领域总结的可重用技能,如安全审查、PRD 文档分析与优化、设计文档及代码生成等。【此简介由AI生成】
定制我的领域 举报项目