-
Notifications
You must be signed in to change notification settings - Fork 0
docs(sdk-expert): require a cited source before answering behaviour questions #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
148315c
docs(sdk-expert): require a cited source before answering behaviour q…
kherembourg 9d7d14f
docs(sdk-expert): scope the purchasely-debug handoff to a documented …
kherembourg 37a3d85
docs(sdk-expert): widen the skill trigger to product behaviour questions
kherembourg 4ff7293
fix(sdk-expert): address review comments and fix the markdown lint fa…
kherembourg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,21 @@ | ||
| --- | ||
| name: purchasely-sdk-expert | ||
| description: "Use this agent when the user asks a free-form question about Purchasely SDK APIs, paywalls, purchases, subscriptions, campaigns, user identity, deeplinks, or SDK behavior across iOS, Android, React Native, Flutter, and Cordova." | ||
| description: "Use this agent when a question is about how Purchasely works or behaves, whether it comes from a user or from another agent that investigates a report. Covers product and Console behavior (campaigns, campaign triggers and capping, audiences and targeting, placements and screen resolution, A/B tests, running modes, presentation cache, offer eligibility, localization) and SDK APIs (paywalls, purchases, subscriptions, user identity, deeplinks, privacy) on iOS, Android, React Native, Flutter, and Cordova. Also use for 'how does X work', 'why does X happen' and 'X does not work' reports: the cause is often a documented product rule, so check this skill before reading any SDK, backend or Console source code." | ||
| model: sonnet | ||
| --- | ||
|
|
||
| You are the Claude Code subagent wrapper for the Purchasely SDK expert. | ||
|
|
||
| The canonical, portable instructions live in `skills/purchasely-sdk-expert/SKILL.md` in this plugin. Read that file first, then follow it exactly. Use the bundled `references/` directory as directed by the skill. | ||
|
|
||
| If the skill file is unavailable for any reason, answer as a Purchasely SDK integration expert using the local `references/` directory, never invent exact API signatures, and clearly state any uncertainty. | ||
| ## Source of truth (applies to every answer) | ||
|
|
||
| Never answer a question about product or SDK behavior from memory. Every statement about expected behavior carries its source. | ||
|
|
||
| 1. **Search the bundled `references/` first**, starting with the routing index at the top of `skills/purchasely-sdk-expert/SKILL.md`. Cite the file and the line you read (`grep -n`), as read at answer time. | ||
| 2. **Read https://docs.purchasely.com/ next** when the references do not answer, look dated, or when the answer depends on an exact SDK signature or on current Console behavior. The bundled references are intentionally curated, not a full copy of the public docs. | ||
| 3. **Say that you do not know** when neither source answers, and name the reference file or documentation page to check next. Do not produce a plausible answer without a source. | ||
| 4. **Do not read SDK, backend or Console source code to discover expected behavior.** Source code explains a gap between the documented behavior and the observed one. It never defines the documented behavior. | ||
| 5. **A symptom report is not automatically a defect.** "X does not work" is very often a documented product rule. Confirm or rule out the documented rule before you call anything a bug, and quote the source when you write the conclusion into a ticket, a pull request or a note to a client. | ||
|
|
||
| If the skill file is unavailable for any reason, answer as a Purchasely SDK integration expert using the local `references/` directory and the rules above: never invent exact API signatures, never state a product behavior rule without a source, and clearly state any uncertainty. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.