← 返回 Skills 市场
App Intents Code Review
作者
Kevin Anderson
· GitHub ↗
· v1.2.1
· MIT-0
176
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install app-intents-code-review
功能描述
Reviews App Intents code for intent structure, entities, shortcuts, and parameters. Use when reviewing code with import AppIntents, @AppIntent, AppEntity, Ap...
使用说明 (SKILL.md)
App Intents Code Review
Quick Reference
| Issue Type | Reference |
|---|---|
| AppIntent protocol, perform(), return types | references/intent-structure.md |
| AppEntity, EntityQuery, identifiers | references/entities.md |
| AppShortcutsProvider, phrases, discovery | references/shortcuts.md |
| @Parameter, validation, dynamic options | references/parameters.md |
Review Checklist
-
perform()marked with@MainActorif accessing UI/main thread resources -
perform()completes within 30-second timeout (no heavy downloads/processing) - Custom errors conform to
CustomLocalizedStringResourceConvertible -
EntityQuery.entities(for:)handles missing identifiers gracefully -
EntityStringQueryused if Siri voice input needed (not plainEntityQuery) -
suggestedEntities()returns reasonable defaults for disambiguation -
AppShortcutphrases include.applicationNameparameter - Non-optional
@Parameterhas sensible defaults or usesrequestValue() -
@IntentParameterDependencynot used on iOS 16 targets (crashes) - Phrases localized in
AppShortcuts.strings, notLocalizable.strings - App Intents defined in app bundle, not Swift Package (pre-iOS 17)
-
isDiscoverable = falsefor internal/widget-only intents
When to Load References
- AppIntent protocol implementation -> intent-structure.md
- Entity queries, identifiers, Spotlight -> entities.md
- App Shortcuts, phrases, discovery -> shortcuts.md
- Parameter validation, dynamic options -> parameters.md
Review Questions
- Does
perform()handle timeout limits for long-running operations? - Are entity queries self-contained (no
@Dependencyinjection in Siri context)? - Do phrases read naturally and include the app name?
- Are SwiftData models passed by
persistentModelID, not directly? - Would migrating from SiriKit break existing user shortcuts?
Hard gates (before reporting)
Complete in order for each finding you intend to report. Do not advance until the pass condition is satisfied.
- Location artifact — The finding includes
[FILE:LINE](or a line range) copied from the current file contents; the path resolves in this repo. - Scope read — You read the full surrounding type: the
AppIntent/AppEntity/EntityQuery/AppShortcutsProvider(or equivalent) that contains the flagged code, not only a diff hunk or snippet. - Platform or integration claim (only if the finding depends on minimum iOS, Swift Package vs app target,
@IntentParameterDependencyavailability, SiriKit migration, orisDiscoverable/ extension placement) — You name one concrete artifact you inspected (for exampleIPHONEOS_DEPLOYMENT_TARGETor target membership in the Xcode project,Package.swiftplatforms, entitlements, or where the intent file lives) or you drop or downgrade the finding to an open question. - Protocol — Pre-report steps in review-verification-protocol are satisfied for this item (no finding if they are not).
Use the issue format [FILE:LINE] ISSUE_TITLE for each reported finding. Hard gate 4 is the full pre-report checklist for this skill’s review type.
安全使用建议
This skill is a review checklist and reference bundle; it only asks the agent to read your repository files and project metadata (which is expected for a code reviewer). Before installing, consider: (1) you are granting the agent access to read code in repos the agent can see—do you trust the agent/host to inspect those files? (2) the skill references a verification protocol file (../review-verification-protocol/SKILL.md) that is not included; if you rely on the hard-gate verification steps, ask the publisher for the missing file or inspect their review process yourself. No credentials, installs, or external network endpoints are requested by this skill, so its technical footprint is minimal.
能力评估
Purpose & Capability
Name/description (App Intents code review) align with the contents: the skill is instruction-only and includes detailed references/checklists for AppIntent, entities, parameters, and shortcuts. It does not request unrelated binaries, credentials, or platform access.
Instruction Scope
Runtime instructions correctly require reading repository code (files, surrounding types, and project artifacts like target membership or deployment target) which is necessary for a code review. Minor inconsistency: the hard gate references ../review-verification-protocol/SKILL.md but that file is not present in the provided manifest, so the full pre-report protocol is unavailable from the package itself.
Install Mechanism
No install spec and no code files to run; instruction-only skills have minimal disk/write footprint. This is the lowest-risk install posture.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The SKILL.md also does not instruct access to secrets or remote endpoints—only to repository files and Xcode/package metadata relevant to App Intents review.
Persistence & Privilege
always is false (no forced inclusion). The skill can be invoked autonomously by agents by default, which is normal; it does not request persistent presence or to modify other skills or system settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install app-intents-code-review - 安装完成后,直接呼叫该 Skill 的名称或使用
/app-intents-code-review触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
- Adds a new "Hard gates (before reporting)" section outlining specific pre-reporting steps for review findings.
- Details four mandatory checks, including location artifact, scope read, platform/integration verification, and adherence to the review-verification-protocol.
- Specifies the required format `[FILE:LINE] ISSUE_TITLE` for all reported findings.
- Clarifies that these hard gates must be completed in order and for each finding before reporting.
v1.2.0
- Added a detailed SKILL.md with quick references, a review checklist, and review questions to guide App Intents code reviews.
- Outlined specific best practices for intent structure, entity handling, shortcuts, and parameter validation.
- Provided direct references for common issues and platform-specific considerations.
- Clarified when to use supplemental documentation for deeper code analysis.
元数据
常见问题
App Intents Code Review 是什么?
Reviews App Intents code for intent structure, entities, shortcuts, and parameters. Use when reviewing code with import AppIntents, @AppIntent, AppEntity, Ap... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 176 次。
如何安装 App Intents Code Review?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install app-intents-code-review」即可一键安装,无需额外配置。
App Intents Code Review 是免费的吗?
是的,App Intents Code Review 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
App Intents Code Review 支持哪些平台?
App Intents Code Review 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 App Intents Code Review?
由 Kevin Anderson(@anderskev)开发并维护,当前版本 v1.2.1。
推荐 Skills