shopify-agentic-dev-workflow 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursor/rules/shopify-agentic-dev.mdc +290 -0
- package/AGENTS.md +285 -0
- package/CHANGELOG.md +14 -0
- package/CLAUDE.md +285 -0
- package/GEMINI.md +285 -0
- package/HANDOFF.md +351 -0
- package/LICENSE +21 -0
- package/README.md +370 -0
- package/bin/shopify-agent.js +2786 -0
- package/docs/00-prerequisites.md +88 -0
- package/docs/01-onboarding.md +111 -0
- package/docs/02-theme-sdlc.md +106 -0
- package/docs/03-app-sdlc.md +66 -0
- package/docs/04-admin-api-ops.md +58 -0
- package/docs/05-codex-prompts.md +37 -0
- package/docs/06-security-guardrails.md +47 -0
- package/docs/07-github-rollout.md +30 -0
- package/docs/08-product-design.md +168 -0
- package/docs/09-shopify-cli-4-capabilities.md +48 -0
- package/docs/10-field-learnings.md +66 -0
- package/package.json +82 -0
- package/scripts/bootstrap.sh +35 -0
- package/scripts/validate-graphql.js +303 -0
- package/templates/.env.example +20 -0
- package/templates/codex-config.toml +3 -0
- package/templates/github-actions/deploy-theme.yml +32 -0
- package/templates/graphql/content/pages-list.graphql +12 -0
- package/templates/graphql/content/redirects-list.graphql +9 -0
- package/templates/graphql/customers/new-customers.graphql +15 -0
- package/templates/graphql/customers/top-spenders.graphql +16 -0
- package/templates/graphql/discounts/active-discounts.graphql +27 -0
- package/templates/graphql/discounts-list.graphql +40 -0
- package/templates/graphql/inventory-audit.graphql +38 -0
- package/templates/graphql/metafields/product-metafields.graphql +14 -0
- package/templates/graphql/orders/list-open.graphql +30 -0
- package/templates/graphql/orders/revenue-summary.graphql +15 -0
- package/templates/graphql/products/list.graphql +16 -0
- package/templates/graphql/products/low-inventory.graphql +18 -0
- package/templates/graphql/products-seo-audit.graphql +14 -0
- package/templates/graphql/shop-query.graphql +9 -0
- package/templates/graphql/store/full-info.graphql +23 -0
- package/templates/graphql/store/webhooks.graphql +16 -0
- package/templates/prompts/admin-operation.md +12 -0
- package/templates/prompts/theme-task.md +19 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
query WebhookSubscriptions {
|
|
2
|
+
webhookSubscriptions(first: 20) {
|
|
3
|
+
edges {
|
|
4
|
+
node {
|
|
5
|
+
id topic
|
|
6
|
+
endpoint {
|
|
7
|
+
... on WebhookHttpEndpoint { callbackUrl }
|
|
8
|
+
... on WebhookEventBridgeEndpoint { arn }
|
|
9
|
+
... on WebhookPubSubEndpoint { pubSubProject pubSubTopic }
|
|
10
|
+
}
|
|
11
|
+
apiVersion { handle }
|
|
12
|
+
createdAt updatedAt
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Use Shopify Dev MCP to validate Admin GraphQL schema and required scopes.
|
|
2
|
+
|
|
3
|
+
Goal:
|
|
4
|
+
<describe the store operation>
|
|
5
|
+
|
|
6
|
+
Rules:
|
|
7
|
+
- Start with a read-only query.
|
|
8
|
+
- Estimate affected resources.
|
|
9
|
+
- Produce a dry-run report.
|
|
10
|
+
- Do not run mutations until explicitly approved.
|
|
11
|
+
- For production, include rollback and audit steps.
|
|
12
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Use Shopify Dev MCP if available.
|
|
2
|
+
|
|
3
|
+
Task:
|
|
4
|
+
<describe the theme change>
|
|
5
|
+
|
|
6
|
+
Acceptance criteria:
|
|
7
|
+
- <criterion 1>
|
|
8
|
+
- <criterion 2>
|
|
9
|
+
- <criterion 3>
|
|
10
|
+
|
|
11
|
+
Workflow:
|
|
12
|
+
1. Inspect the theme structure and identify the smallest set of files to change.
|
|
13
|
+
2. Implement the change without touching unrelated files.
|
|
14
|
+
3. Run `npm run theme:check`.
|
|
15
|
+
4. Start or use `npm run theme:dev` for preview.
|
|
16
|
+
5. Verify desktop and mobile with Browser.
|
|
17
|
+
6. Summarize changed files, validation results, and remaining risk.
|
|
18
|
+
|
|
19
|
+
Do not publish the theme.
|