@getrheo/rheo-skill 1.0.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.
Files changed (39) hide show
  1. package/README.md +76 -0
  2. package/package.json +51 -0
  3. package/rheo/SKILL.md +32 -0
  4. package/rheo/rheo-best-practices/SKILL.md +46 -0
  5. package/rheo/rheo-best-practices/examples/react-native-install-snippet.md +23 -0
  6. package/rheo/rheo-best-practices/examples/swiftui-install-snippet.md +20 -0
  7. package/rheo/rheo-best-practices/references/implement-workflow.md +27 -0
  8. package/rheo/rheo-best-practices/references/integrations.md +51 -0
  9. package/rheo/rheo-best-practices/references/react-native-bare.md +36 -0
  10. package/rheo/rheo-best-practices/references/react-native-expo.md +49 -0
  11. package/rheo/rheo-best-practices/references/swiftui.md +52 -0
  12. package/rheo/rheo-best-practices/references/troubleshooting.md +57 -0
  13. package/rheo/rheo-flow-import/SKILL.md +68 -0
  14. package/rheo/rheo-flow-import/examples/branching-onboarding.manifest.json +155 -0
  15. package/rheo/rheo-flow-import/examples/flow-spec.example.json +56 -0
  16. package/rheo/rheo-flow-import/examples/linear-onboarding.manifest.json +104 -0
  17. package/rheo/rheo-flow-import/examples/revenuecat-paywall.manifest.json +154 -0
  18. package/rheo/rheo-flow-import/references/animation-import.md +79 -0
  19. package/rheo/rheo-flow-import/references/capabilities.md +107 -0
  20. package/rheo/rheo-flow-import/references/carousel-import.md +64 -0
  21. package/rheo/rheo-flow-import/references/flow-spec.md +214 -0
  22. package/rheo/rheo-flow-import/references/font-import.md +67 -0
  23. package/rheo/rheo-flow-import/references/import-workflow.md +240 -0
  24. package/rheo/rheo-flow-import/references/layer-schema-pitfalls.md +179 -0
  25. package/rheo/rheo-flow-import/references/localization-import.md +128 -0
  26. package/rheo/rheo-flow-import/references/manifest-agent-profile-fallback.md +74 -0
  27. package/rheo/rheo-flow-import/references/manifest-rules.md +197 -0
  28. package/rheo/rheo-flow-import/references/publish-gates.md +91 -0
  29. package/rheo/rheo-flow-import/references/react-native-source-patterns.md +99 -0
  30. package/rheo/rheo-flow-import/references/swiftui-source-patterns.md +99 -0
  31. package/rheo/rheo-flow-import/scripts/audit-import.mjs +4 -0
  32. package/rheo/rheo-flow-import/scripts/audit-publish-manifest.mjs +4 -0
  33. package/rheo/rheo-flow-import/scripts/fetch-profile.mjs +4 -0
  34. package/rheo/rheo-flow-import/scripts/lib/rheo-cli.mjs +12753 -0
  35. package/rheo/rheo-flow-import/scripts/normalize-manifest.mjs +4 -0
  36. package/rheo/rheo-flow-import/scripts/print-manifest-summary.mjs +4 -0
  37. package/rheo/rheo-flow-import/scripts/scaffold-manifest.mjs +4 -0
  38. package/rheo/rheo-flow-import/scripts/validate-manifest.mjs +4 -0
  39. package/src/index.ts +32 -0
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { runCli } from './lib/rheo-cli.mjs';
3
+
4
+ process.exitCode = await runCli('normalize', process.argv.slice(2));
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { runCli } from './lib/rheo-cli.mjs';
3
+
4
+ process.exitCode = await runCli('summary', process.argv.slice(2));
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { runCli } from './lib/rheo-cli.mjs';
3
+
4
+ process.exitCode = await runCli('scaffold', process.argv.slice(2));
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { runCli } from './lib/rheo-cli.mjs';
3
+
4
+ process.exitCode = await runCli('validate', process.argv.slice(2));
package/src/index.ts ADDED
@@ -0,0 +1,32 @@
1
+ export {
2
+ DEFAULT_PROFILE_URL,
3
+ extractManifestProfileVersion,
4
+ fetchManifestProfile,
5
+ readBundledManifestProfile,
6
+ type ManifestProfile,
7
+ type ManifestProfileSource,
8
+ } from './fetchManifestProfile.js';
9
+ export {
10
+ normalizeManifestFile,
11
+ normalizeManifestObject,
12
+ type NormalizeManifestResult,
13
+ } from './normalizeManifestFile.js';
14
+ export { summarizeManifest, type ManifestSummary } from './manifestSummary.js';
15
+ export { formatIssues, validateManifestFile, type ValidateManifestFileResult } from './validateManifestFile.js';
16
+ export {
17
+ collectPublishGateIssues,
18
+ fixForBuilderMessage,
19
+ type CollectPublishGateIssuesResult,
20
+ type PublishGateIssue,
21
+ } from './publishGates/collectPublishGateIssues.js';
22
+ export { auditManifestPublish, auditManifestPublishToFile } from './publishGates/auditManifestPublish.js';
23
+ export { renderPublishGateMarkdown } from './publishGates/renderPublishGateMarkdown.js';
24
+ export { auditImport, auditImportToMarkdownFile } from './audit/auditImport.js';
25
+ export type { AuditFinding, AuditOptions, AuditReport } from './audit/auditTypes.js';
26
+ export {
27
+ scaffoldManifest,
28
+ scaffoldManifestFromFile,
29
+ type ScaffoldFromFileResult,
30
+ } from './scaffold/scaffoldManifest.js';
31
+ export { FlowSpecSchema, LayerIntentSchema, parseFlowSpec } from './scaffold/flowSpecSchema.js';
32
+ export type { FlowSpec, LayerIntent, ScreenSpec } from './scaffold/scaffoldTypes.js';