app-intents-code-review
Skill91 starsChanged 5 days agoApache-2.0View on GitHub
Reviews App Intents code for intent structure, entities, shortcuts, and parameters. Use when reviewing code with import AppIntents, AppIntent, @AppIntent(schema:), AppEntity, AppShortcutsProvider, or @Parameter.
In this repository85 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- agent-architecture-analysisSkill
- artifact-analysisSkill
- axum-code-reviewSkill
- brainstorm-beagleSkill
- bubbletea-code-reviewSkill
- cloudkit-code-reviewSkill
- elixir-performance-reviewSkill
- elixir-security-reviewSkill
- elixir-writing-docsSkill
- exdoc-configSkill
- exunit-code-reviewSkill
- fastapi-code-reviewSkill
- fetch-pr-feedbackSkill
- ffi-code-reviewSkill
- fix-llm-artifactsSkill
- fowler-refactoringSkill
- gen-test-planSkill
- go-architectSkill
- go-code-reviewSkill
- go-data-persistenceSkill
- go-testing-code-reviewSkill
- healthkit-code-reviewSkill
- humanize-beagleSkill
- improve-docSkill
- ios-animation-code-reviewSkill
- liveview-code-reviewSkill
- llm-artifacts-detectionSkill
- llm-judgeSkill
- macros-code-reviewSkill
- phoenix-code-reviewSkill
- postgres-code-reviewSkill
- prfaq-beagleSkill
- prometheus-go-code-reviewSkill
- pytest-code-reviewSkill
- quick-planSkill
- react-flow-code-reviewSkill
- react-flowSkill
- react-router-code-reviewSkill
- react-router-v7Skill
- receive-feedbackSkill
- refactor-repoSkill
- resolve-beagleSkill
- respond-pr-feedbackSkill
- review-ai-writingSkill
- review-elixirSkill
- review-frontendSkill
- review-goSkill
- review-iosSkill
- review-llm-artifactsSkill
- review-planSkill
- review-pythonSkill
- review-remix-v2Skill
- review-rustSkill
- review-skillSkill
- review-structureSkill
- review-tuiSkill
- review-verification-protocolSkill
- run-test-planSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
Do phrases read naturally and include .applicationName?
- Very specific: line 59
Use the issue format [FILE:LINE] ISSUE_TITLE for each reported finding.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
App Intents Code Review
Quick Reference
| Issue Type | Reference |
| AppIntent protocol, perform(), Sendable, return types | references/intent-structure.md |
| AppEntity, EntityQuery, IndexedEntity, @Dependency | references/entities.md |
| AppShortcutsProvider, phrases, localization, migration | references/shortcuts.md |
| @Parameter, validation, dynamic options | references/parameters.md |
Review Checklist
AppIntent,AppEntity, and@Parametertypes satisfySendable(Swift 6 concurrency)perform()marked with@MainActorif accessing UI/main thread resourcesperform()completes within ~30-second timeout (no heavy downloads/processing)- Custom errors conform to
CustomLocalizedStringResourceConvertible EntityQuery.entities(for:)handles missing identifiers gracefullyEntityStringQueryused if Siri voice input needed (not plainEntityQuery)suggestedEntities()returns reasonable defaults for disambiguation@Dependencyservices are registered viaAppDependencyManager.shared.add(dependency:)inApp.init()(and use App Group storage if an extension runs out-of-process)AppShortcutphrases include.applicationNameparameterAppShortcutsProvider.updateAppShortcutParameters()called on launch and when dynamic entities change- Non-optional
@Parameterhas sensible defaults or usesrequestValue() @IntentParameterDependencyguarded with@available(iOS 17, *)on iOS 16 targets (crashes at runtime on iOS 16)- Phrases localized in
AppShortcuts.stringsorAppShortcuts.xcstrings, notLocalizable.strings - App Intents defined in app bundle or
AppIntentsextension, not Swift Package on pre-iOS 17 targets isDiscoverable = falsefor internal/widget-only intents
When to Load References
- AppIntent protocol implementation -> intent-structure.md
- Entity queries, identifiers, Spotlight,
@Dependency-> entities.md - App Shortcuts, phrases, discovery, SiriKit migration -> shortcuts.md
- Parameter validation, dynamic options -> parameters.md
Review Questions
- Does
perform()handle timeout limits for long-running operations? - Are
@Dependencydependencies registered early viaAppDependencyManager.shared.add(dependency:)(and using App Group storage if an extension runs out-of-process)? - Do phrases read naturally and include
.applicationName? - Are SwiftData models passed by
persistentModelID(not non-Sendable@Modelinstances)? - Would migrating from SiriKit (
CustomIntentMigratedAppIntent) break existing user shortcuts or minimum OS targets?
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(../review-verification-protocol/SKILL.md if installed) 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

