jfl 0.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.
- package/LICENSE +21 -0
- package/README.md +313 -0
- package/clawdbot-skill/README.md +328 -0
- package/clawdbot-skill/SKILL.md +362 -0
- package/clawdbot-skill/index.ts +486 -0
- package/clawdbot-skill/package.json +28 -0
- package/clawdbot-skill/skill.json +28 -0
- package/dist/commands/agents.d.ts +5 -0
- package/dist/commands/agents.d.ts.map +1 -0
- package/dist/commands/agents.js +399 -0
- package/dist/commands/agents.js.map +1 -0
- package/dist/commands/context-hub.d.ts +12 -0
- package/dist/commands/context-hub.d.ts.map +1 -0
- package/dist/commands/context-hub.js +642 -0
- package/dist/commands/context-hub.js.map +1 -0
- package/dist/commands/deploy.d.ts +5 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/deploy.js +370 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/feedback.d.ts +2 -0
- package/dist/commands/feedback.d.ts.map +1 -0
- package/dist/commands/feedback.js +178 -0
- package/dist/commands/feedback.js.map +1 -0
- package/dist/commands/hud.d.ts +4 -0
- package/dist/commands/hud.d.ts.map +1 -0
- package/dist/commands/hud.js +262 -0
- package/dist/commands/hud.js.map +1 -0
- package/dist/commands/init.d.ts +4 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +553 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/login.d.ts +23 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +818 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/ralph.d.ts +9 -0
- package/dist/commands/ralph.d.ts.map +1 -0
- package/dist/commands/ralph.js +67 -0
- package/dist/commands/ralph.js.map +1 -0
- package/dist/commands/repair.d.ts +7 -0
- package/dist/commands/repair.d.ts.map +1 -0
- package/dist/commands/repair.js +283 -0
- package/dist/commands/repair.js.map +1 -0
- package/dist/commands/session-mgmt.d.ts +33 -0
- package/dist/commands/session-mgmt.d.ts.map +1 -0
- package/dist/commands/session-mgmt.js +404 -0
- package/dist/commands/session-mgmt.js.map +1 -0
- package/dist/commands/session.d.ts +2 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +639 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/commands/skills.d.ts +31 -0
- package/dist/commands/skills.d.ts.map +1 -0
- package/dist/commands/skills.js +314 -0
- package/dist/commands/skills.js.map +1 -0
- package/dist/commands/status.d.ts +2 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +127 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/synopsis.d.ts +10 -0
- package/dist/commands/synopsis.d.ts.map +1 -0
- package/dist/commands/synopsis.js +277 -0
- package/dist/commands/synopsis.js.map +1 -0
- package/dist/commands/update.d.ts +10 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +165 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/voice.d.ts +410 -0
- package/dist/commands/voice.d.ts.map +1 -0
- package/dist/commands/voice.js +4763 -0
- package/dist/commands/voice.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +512 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/context-hub-mcp.d.ts +11 -0
- package/dist/mcp/context-hub-mcp.d.ts.map +1 -0
- package/dist/mcp/context-hub-mcp.js +548 -0
- package/dist/mcp/context-hub-mcp.js.map +1 -0
- package/dist/telegram/voice.d.ts +146 -0
- package/dist/telegram/voice.d.ts.map +1 -0
- package/dist/telegram/voice.js +351 -0
- package/dist/telegram/voice.js.map +1 -0
- package/dist/types/skills.d.ts +44 -0
- package/dist/types/skills.d.ts.map +1 -0
- package/dist/types/skills.js +5 -0
- package/dist/types/skills.js.map +1 -0
- package/dist/ui/banner.d.ts +18 -0
- package/dist/ui/banner.d.ts.map +1 -0
- package/dist/ui/banner.js +323 -0
- package/dist/ui/banner.js.map +1 -0
- package/dist/ui/index.d.ts +8 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +8 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/prompts.d.ts +52 -0
- package/dist/ui/prompts.d.ts.map +1 -0
- package/dist/ui/prompts.js +72 -0
- package/dist/ui/prompts.js.map +1 -0
- package/dist/ui/theme.d.ts +82 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +142 -0
- package/dist/ui/theme.js.map +1 -0
- package/dist/utils/auth-guard.d.ts +66 -0
- package/dist/utils/auth-guard.d.ts.map +1 -0
- package/dist/utils/auth-guard.js +348 -0
- package/dist/utils/auth-guard.js.map +1 -0
- package/dist/utils/ensure-project.d.ts +11 -0
- package/dist/utils/ensure-project.d.ts.map +1 -0
- package/dist/utils/ensure-project.js +70 -0
- package/dist/utils/ensure-project.js.map +1 -0
- package/dist/utils/git.d.ts +73 -0
- package/dist/utils/git.d.ts.map +1 -0
- package/dist/utils/git.js +219 -0
- package/dist/utils/git.js.map +1 -0
- package/dist/utils/github-auth.d.ts +54 -0
- package/dist/utils/github-auth.d.ts.map +1 -0
- package/dist/utils/github-auth.js +375 -0
- package/dist/utils/github-auth.js.map +1 -0
- package/dist/utils/github-repo.d.ts +30 -0
- package/dist/utils/github-repo.d.ts.map +1 -0
- package/dist/utils/github-repo.js +219 -0
- package/dist/utils/github-repo.js.map +1 -0
- package/dist/utils/platform-auth.d.ts +81 -0
- package/dist/utils/platform-auth.d.ts.map +1 -0
- package/dist/utils/platform-auth.js +191 -0
- package/dist/utils/platform-auth.js.map +1 -0
- package/dist/utils/project-config.d.ts +43 -0
- package/dist/utils/project-config.d.ts.map +1 -0
- package/dist/utils/project-config.js +97 -0
- package/dist/utils/project-config.js.map +1 -0
- package/dist/utils/skill-registry.d.ts +49 -0
- package/dist/utils/skill-registry.d.ts.map +1 -0
- package/dist/utils/skill-registry.js +192 -0
- package/dist/utils/skill-registry.js.map +1 -0
- package/dist/utils/wallet.d.ts +62 -0
- package/dist/utils/wallet.d.ts.map +1 -0
- package/dist/utils/wallet.js +252 -0
- package/dist/utils/wallet.js.map +1 -0
- package/dist/utils/x402-client.d.ts +86 -0
- package/dist/utils/x402-client.d.ts.map +1 -0
- package/dist/utils/x402-client.js +265 -0
- package/dist/utils/x402-client.js.map +1 -0
- package/package.json +76 -0
- package/scripts/postinstall.js +116 -0
- package/scripts/test-onboarding.sh +121 -0
- package/scripts/voice-start.sh +128 -0
- package/scripts/voice-stop.sh +33 -0
- package/template/.claude/settings.json +92 -0
- package/template/.claude/skills/agent-browser/SKILL.md +116 -0
- package/template/.claude/skills/brand-architect/SKILL.md +240 -0
- package/template/.claude/skills/brand-architect/config.yaml +137 -0
- package/template/.claude/skills/campaign-hud/config.yaml +112 -0
- package/template/.claude/skills/content-creator/SKILL.md +294 -0
- package/template/.claude/skills/debug/MULTI_AGENT.md +360 -0
- package/template/.claude/skills/debug/SKILL.md +549 -0
- package/template/.claude/skills/fly-deploy/SKILL.md +676 -0
- package/template/.claude/skills/founder-video/SKILL.md +467 -0
- package/template/.claude/skills/hud/SKILL.md +157 -0
- package/template/.claude/skills/ralph-tui/SKILL.md +210 -0
- package/template/.claude/skills/react-best-practices/AGENTS.md +2249 -0
- package/template/.claude/skills/react-best-practices/README.md +123 -0
- package/template/.claude/skills/react-best-practices/SKILL.md +125 -0
- package/template/.claude/skills/react-best-practices/metadata.json +15 -0
- package/template/.claude/skills/react-best-practices/rules/_sections.md +46 -0
- package/template/.claude/skills/react-best-practices/rules/_template.md +28 -0
- package/template/.claude/skills/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/template/.claude/skills/react-best-practices/rules/advanced-use-latest.md +49 -0
- package/template/.claude/skills/react-best-practices/rules/async-api-routes.md +38 -0
- package/template/.claude/skills/react-best-practices/rules/async-defer-await.md +80 -0
- package/template/.claude/skills/react-best-practices/rules/async-dependencies.md +36 -0
- package/template/.claude/skills/react-best-practices/rules/async-parallel.md +28 -0
- package/template/.claude/skills/react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/template/.claude/skills/react-best-practices/rules/bundle-barrel-imports.md +59 -0
- package/template/.claude/skills/react-best-practices/rules/bundle-conditional.md +31 -0
- package/template/.claude/skills/react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/template/.claude/skills/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/template/.claude/skills/react-best-practices/rules/bundle-preload.md +50 -0
- package/template/.claude/skills/react-best-practices/rules/client-event-listeners.md +74 -0
- package/template/.claude/skills/react-best-practices/rules/client-swr-dedup.md +56 -0
- package/template/.claude/skills/react-best-practices/rules/js-batch-dom-css.md +82 -0
- package/template/.claude/skills/react-best-practices/rules/js-cache-function-results.md +80 -0
- package/template/.claude/skills/react-best-practices/rules/js-cache-property-access.md +28 -0
- package/template/.claude/skills/react-best-practices/rules/js-cache-storage.md +70 -0
- package/template/.claude/skills/react-best-practices/rules/js-combine-iterations.md +32 -0
- package/template/.claude/skills/react-best-practices/rules/js-early-exit.md +50 -0
- package/template/.claude/skills/react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/template/.claude/skills/react-best-practices/rules/js-index-maps.md +37 -0
- package/template/.claude/skills/react-best-practices/rules/js-length-check-first.md +49 -0
- package/template/.claude/skills/react-best-practices/rules/js-min-max-loop.md +82 -0
- package/template/.claude/skills/react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/template/.claude/skills/react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/template/.claude/skills/react-best-practices/rules/rendering-activity.md +26 -0
- package/template/.claude/skills/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/template/.claude/skills/react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/template/.claude/skills/react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/template/.claude/skills/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/template/.claude/skills/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/template/.claude/skills/react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/template/.claude/skills/react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/template/.claude/skills/react-best-practices/rules/rerender-dependencies.md +45 -0
- package/template/.claude/skills/react-best-practices/rules/rerender-derived-state.md +29 -0
- package/template/.claude/skills/react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/template/.claude/skills/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/template/.claude/skills/react-best-practices/rules/rerender-memo.md +44 -0
- package/template/.claude/skills/react-best-practices/rules/rerender-transitions.md +40 -0
- package/template/.claude/skills/react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/template/.claude/skills/react-best-practices/rules/server-cache-lru.md +41 -0
- package/template/.claude/skills/react-best-practices/rules/server-cache-react.md +26 -0
- package/template/.claude/skills/react-best-practices/rules/server-parallel-fetching.md +79 -0
- package/template/.claude/skills/react-best-practices/rules/server-serialization.md +38 -0
- package/template/.claude/skills/remotion-best-practices/SKILL.md +43 -0
- package/template/.claude/skills/remotion-best-practices/rules/3d.md +86 -0
- package/template/.claude/skills/remotion-best-practices/rules/animations.md +29 -0
- package/template/.claude/skills/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
- package/template/.claude/skills/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
- package/template/.claude/skills/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/template/.claude/skills/remotion-best-practices/rules/assets.md +78 -0
- package/template/.claude/skills/remotion-best-practices/rules/audio.md +172 -0
- package/template/.claude/skills/remotion-best-practices/rules/calculate-metadata.md +104 -0
- package/template/.claude/skills/remotion-best-practices/rules/can-decode.md +75 -0
- package/template/.claude/skills/remotion-best-practices/rules/charts.md +58 -0
- package/template/.claude/skills/remotion-best-practices/rules/compositions.md +146 -0
- package/template/.claude/skills/remotion-best-practices/rules/display-captions.md +126 -0
- package/template/.claude/skills/remotion-best-practices/rules/extract-frames.md +229 -0
- package/template/.claude/skills/remotion-best-practices/rules/fonts.md +152 -0
- package/template/.claude/skills/remotion-best-practices/rules/get-audio-duration.md +58 -0
- package/template/.claude/skills/remotion-best-practices/rules/get-video-dimensions.md +68 -0
- package/template/.claude/skills/remotion-best-practices/rules/get-video-duration.md +58 -0
- package/template/.claude/skills/remotion-best-practices/rules/gifs.md +138 -0
- package/template/.claude/skills/remotion-best-practices/rules/images.md +130 -0
- package/template/.claude/skills/remotion-best-practices/rules/import-srt-captions.md +67 -0
- package/template/.claude/skills/remotion-best-practices/rules/lottie.md +68 -0
- package/template/.claude/skills/remotion-best-practices/rules/measuring-dom-nodes.md +35 -0
- package/template/.claude/skills/remotion-best-practices/rules/measuring-text.md +143 -0
- package/template/.claude/skills/remotion-best-practices/rules/sequencing.md +106 -0
- package/template/.claude/skills/remotion-best-practices/rules/tailwind.md +11 -0
- package/template/.claude/skills/remotion-best-practices/rules/text-animations.md +20 -0
- package/template/.claude/skills/remotion-best-practices/rules/timing.md +179 -0
- package/template/.claude/skills/remotion-best-practices/rules/transcribe-captions.md +19 -0
- package/template/.claude/skills/remotion-best-practices/rules/transitions.md +122 -0
- package/template/.claude/skills/remotion-best-practices/rules/trimming.md +53 -0
- package/template/.claude/skills/remotion-best-practices/rules/videos.md +171 -0
- package/template/.claude/skills/search/SKILL.md +220 -0
- package/template/.claude/skills/spec/SKILL.md +377 -0
- package/template/.claude/skills/startup/SKILL.md +310 -0
- package/template/.claude/skills/web-architect/SKILL.md +309 -0
- package/template/.claude/skills/x-algorithm/SKILL.md +305 -0
- package/template/.jfl/config.json +8 -0
- package/template/.mcp.json +11 -0
- package/template/CLAUDE.md +960 -0
- package/template/content/.gitkeep +0 -0
- package/template/context-hub +3 -0
- package/template/knowledge/BRAND_BRIEF.md +124 -0
- package/template/knowledge/BRAND_DECISIONS.md +168 -0
- package/template/knowledge/NARRATIVE.md +114 -0
- package/template/knowledge/ROADMAP.md +128 -0
- package/template/knowledge/THESIS.md +108 -0
- package/template/knowledge/VISION.md +74 -0
- package/template/knowledge/VOICE_AND_TONE.md +146 -0
- package/template/previews/.gitkeep +0 -0
- package/template/scripts/session/auto-commit.sh +245 -0
- package/template/scripts/session/auto-merge.sh +325 -0
- package/template/scripts/session/jfl-doctor.sh +587 -0
- package/template/scripts/session/session-end.sh +194 -0
- package/template/scripts/session/session-init.sh +163 -0
- package/template/scripts/session/session-sync.sh +167 -0
- package/template/scripts/session/test-context-preservation.sh +160 -0
- package/template/skills/agent-browser/SKILL.md +116 -0
- package/template/skills/brand-architect/SKILL.md +240 -0
- package/template/skills/brand-architect/config.yaml +137 -0
- package/template/skills/campaign-hud/config.yaml +112 -0
- package/template/skills/content-creator/SKILL.md +294 -0
- package/template/skills/debug/MULTI_AGENT.md +360 -0
- package/template/skills/debug/SKILL.md +549 -0
- package/template/skills/fly-deploy/SKILL.md +676 -0
- package/template/skills/founder-video/SKILL.md +467 -0
- package/template/skills/hud/SKILL.md +204 -0
- package/template/skills/ralph-tui/SKILL.md +210 -0
- package/template/skills/react-best-practices/AGENTS.md +2249 -0
- package/template/skills/react-best-practices/README.md +123 -0
- package/template/skills/react-best-practices/SKILL.md +125 -0
- package/template/skills/react-best-practices/metadata.json +15 -0
- package/template/skills/react-best-practices/rules/_sections.md +46 -0
- package/template/skills/react-best-practices/rules/_template.md +28 -0
- package/template/skills/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/template/skills/react-best-practices/rules/advanced-use-latest.md +49 -0
- package/template/skills/react-best-practices/rules/async-api-routes.md +38 -0
- package/template/skills/react-best-practices/rules/async-defer-await.md +80 -0
- package/template/skills/react-best-practices/rules/async-dependencies.md +36 -0
- package/template/skills/react-best-practices/rules/async-parallel.md +28 -0
- package/template/skills/react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/template/skills/react-best-practices/rules/bundle-barrel-imports.md +59 -0
- package/template/skills/react-best-practices/rules/bundle-conditional.md +31 -0
- package/template/skills/react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/template/skills/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/template/skills/react-best-practices/rules/bundle-preload.md +50 -0
- package/template/skills/react-best-practices/rules/client-event-listeners.md +74 -0
- package/template/skills/react-best-practices/rules/client-swr-dedup.md +56 -0
- package/template/skills/react-best-practices/rules/js-batch-dom-css.md +82 -0
- package/template/skills/react-best-practices/rules/js-cache-function-results.md +80 -0
- package/template/skills/react-best-practices/rules/js-cache-property-access.md +28 -0
- package/template/skills/react-best-practices/rules/js-cache-storage.md +70 -0
- package/template/skills/react-best-practices/rules/js-combine-iterations.md +32 -0
- package/template/skills/react-best-practices/rules/js-early-exit.md +50 -0
- package/template/skills/react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/template/skills/react-best-practices/rules/js-index-maps.md +37 -0
- package/template/skills/react-best-practices/rules/js-length-check-first.md +49 -0
- package/template/skills/react-best-practices/rules/js-min-max-loop.md +82 -0
- package/template/skills/react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/template/skills/react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/template/skills/react-best-practices/rules/rendering-activity.md +26 -0
- package/template/skills/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/template/skills/react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/template/skills/react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/template/skills/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/template/skills/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/template/skills/react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/template/skills/react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/template/skills/react-best-practices/rules/rerender-dependencies.md +45 -0
- package/template/skills/react-best-practices/rules/rerender-derived-state.md +29 -0
- package/template/skills/react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/template/skills/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/template/skills/react-best-practices/rules/rerender-memo.md +44 -0
- package/template/skills/react-best-practices/rules/rerender-transitions.md +40 -0
- package/template/skills/react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/template/skills/react-best-practices/rules/server-cache-lru.md +41 -0
- package/template/skills/react-best-practices/rules/server-cache-react.md +26 -0
- package/template/skills/react-best-practices/rules/server-parallel-fetching.md +79 -0
- package/template/skills/react-best-practices/rules/server-serialization.md +38 -0
- package/template/skills/remotion-best-practices/SKILL.md +43 -0
- package/template/skills/remotion-best-practices/rules/3d.md +86 -0
- package/template/skills/remotion-best-practices/rules/animations.md +29 -0
- package/template/skills/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
- package/template/skills/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
- package/template/skills/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/template/skills/remotion-best-practices/rules/assets.md +78 -0
- package/template/skills/remotion-best-practices/rules/audio.md +172 -0
- package/template/skills/remotion-best-practices/rules/calculate-metadata.md +104 -0
- package/template/skills/remotion-best-practices/rules/can-decode.md +75 -0
- package/template/skills/remotion-best-practices/rules/charts.md +58 -0
- package/template/skills/remotion-best-practices/rules/compositions.md +146 -0
- package/template/skills/remotion-best-practices/rules/display-captions.md +126 -0
- package/template/skills/remotion-best-practices/rules/extract-frames.md +229 -0
- package/template/skills/remotion-best-practices/rules/fonts.md +152 -0
- package/template/skills/remotion-best-practices/rules/get-audio-duration.md +58 -0
- package/template/skills/remotion-best-practices/rules/get-video-dimensions.md +68 -0
- package/template/skills/remotion-best-practices/rules/get-video-duration.md +58 -0
- package/template/skills/remotion-best-practices/rules/gifs.md +138 -0
- package/template/skills/remotion-best-practices/rules/images.md +130 -0
- package/template/skills/remotion-best-practices/rules/import-srt-captions.md +67 -0
- package/template/skills/remotion-best-practices/rules/lottie.md +68 -0
- package/template/skills/remotion-best-practices/rules/measuring-dom-nodes.md +35 -0
- package/template/skills/remotion-best-practices/rules/measuring-text.md +143 -0
- package/template/skills/remotion-best-practices/rules/sequencing.md +106 -0
- package/template/skills/remotion-best-practices/rules/tailwind.md +11 -0
- package/template/skills/remotion-best-practices/rules/text-animations.md +20 -0
- package/template/skills/remotion-best-practices/rules/timing.md +179 -0
- package/template/skills/remotion-best-practices/rules/transcribe-captions.md +19 -0
- package/template/skills/remotion-best-practices/rules/transitions.md +122 -0
- package/template/skills/remotion-best-practices/rules/trimming.md +53 -0
- package/template/skills/remotion-best-practices/rules/videos.md +171 -0
- package/template/skills/search/SKILL.md +220 -0
- package/template/skills/spec/SKILL.md +377 -0
- package/template/skills/startup/SKILL.md +310 -0
- package/template/skills/web-architect/SKILL.md +309 -0
- package/template/skills/x-algorithm/SKILL.md +305 -0
- package/template/suggestions/.gitkeep +0 -0
- package/template/templates/QUICKSTART_SKILL_TO_PRODUCT.md +242 -0
- package/template/templates/brand/BRAND_BRIEF.md +124 -0
- package/template/templates/brand/BRAND_DECISIONS.md +168 -0
- package/template/templates/brand/BRAND_GUIDELINES.md +251 -0
- package/template/templates/brand/VOICE_AND_TONE.md +146 -0
- package/template/templates/brand/global.css +240 -0
- package/template/templates/collaboration/CONTRIBUTOR.md +74 -0
- package/template/templates/collaboration/CRM.md +97 -0
- package/template/templates/collaboration/TASKS.md +83 -0
- package/template/templates/strategic/NARRATIVE.md +114 -0
- package/template/templates/strategic/ROADMAP.md +128 -0
- package/template/templates/strategic/THESIS.md +108 -0
- package/template/templates/strategic/VISION.md +74 -0
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: x-algorithm
|
|
3
|
+
description: X/Twitter For You feed ranking algorithm - optimize tweets for maximum reach
|
|
4
|
+
metadata:
|
|
5
|
+
tags: twitter, x, algorithm, social, ranking, engagement
|
|
6
|
+
source: https://github.com/xai-org/x-algorithm
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# X Algorithm Skill
|
|
10
|
+
|
|
11
|
+
Optimize tweets and threads for the X (Twitter) For You feed algorithm.
|
|
12
|
+
|
|
13
|
+
## How the Algorithm Works
|
|
14
|
+
|
|
15
|
+
The X For You feed uses a Grok-based Phoenix transformer that predicts engagement probabilities for each tweet. No hand-engineered features—it learns entirely from engagement patterns.
|
|
16
|
+
|
|
17
|
+
### The Formula
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
Final Score = Σ (weight × P(action))
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Each tweet gets scored by predicting the probability you'll take various actions, then weighting them.
|
|
24
|
+
|
|
25
|
+
### What It Predicts
|
|
26
|
+
|
|
27
|
+
**Positive signals (boost score):**
|
|
28
|
+
| Signal | What It Measures |
|
|
29
|
+
|--------|------------------|
|
|
30
|
+
| `P(favorite)` | Likelihood of like |
|
|
31
|
+
| `P(reply)` | Likelihood of reply |
|
|
32
|
+
| `P(repost)` | Likelihood of repost |
|
|
33
|
+
| `P(quote)` | Likelihood of quote tweet |
|
|
34
|
+
| `P(click)` | Likelihood of clicking through |
|
|
35
|
+
| `P(profile_click)` | Likelihood of visiting author's profile |
|
|
36
|
+
| `P(video_view)` | Likelihood of watching video |
|
|
37
|
+
| `P(photo_expand)` | Likelihood of expanding image |
|
|
38
|
+
| `P(share)` | Likelihood of sharing externally |
|
|
39
|
+
| `P(dwell)` | Time spent reading/viewing |
|
|
40
|
+
| `P(follow_author)` | Likelihood of following |
|
|
41
|
+
|
|
42
|
+
**Negative signals (reduce score):**
|
|
43
|
+
| Signal | What It Measures |
|
|
44
|
+
|--------|------------------|
|
|
45
|
+
| `P(not_interested)` | Likelihood of "Not interested" |
|
|
46
|
+
| `P(block_author)` | Likelihood of blocking |
|
|
47
|
+
| `P(mute_author)` | Likelihood of muting |
|
|
48
|
+
| `P(report)` | Likelihood of reporting |
|
|
49
|
+
|
|
50
|
+
### Additional Ranking Factors
|
|
51
|
+
|
|
52
|
+
- **Author Diversity**: Repeated posts from same author get attenuated
|
|
53
|
+
- **Out-of-Network Boost**: Discovered content (not from follows) gets special scoring
|
|
54
|
+
- **Candidate Isolation**: Each tweet scored independently
|
|
55
|
+
|
|
56
|
+
## Commands
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
/x-algorithm analyze [tweet] # Score a tweet draft
|
|
60
|
+
/x-algorithm optimize [tweet] # Suggest improvements
|
|
61
|
+
/x-algorithm signals # Show all ranking signals
|
|
62
|
+
/x-algorithm hooks # Generate high-engagement hooks
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Usage
|
|
66
|
+
|
|
67
|
+
### Analyzing a Tweet
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
/x-algorithm analyze "Just shipped a new feature"
|
|
71
|
+
|
|
72
|
+
ANALYSIS:
|
|
73
|
+
┌─────────────────────────────────────────────────┐
|
|
74
|
+
│ Tweet: "Just shipped a new feature" │
|
|
75
|
+
├─────────────────────────────────────────────────┤
|
|
76
|
+
│ Predicted signals: │
|
|
77
|
+
│ ├─ P(favorite) LOW - no emotional hook │
|
|
78
|
+
│ ├─ P(reply) LOW - no question/gap │
|
|
79
|
+
│ ├─ P(repost) LOW - no value to share │
|
|
80
|
+
│ ├─ P(quote) LOW - nothing to add to │
|
|
81
|
+
│ ├─ P(dwell) LOW - too short │
|
|
82
|
+
│ └─ P(not_interested) MED - generic update │
|
|
83
|
+
│ │
|
|
84
|
+
│ Overall: WEAK │
|
|
85
|
+
│ │
|
|
86
|
+
│ Issues: │
|
|
87
|
+
│ • No specificity (what feature? why care?) │
|
|
88
|
+
│ • No emotional trigger │
|
|
89
|
+
│ • No reason to engage │
|
|
90
|
+
└─────────────────────────────────────────────────┘
|
|
91
|
+
|
|
92
|
+
Optimize? (yes/no)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Optimizing a Tweet
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
/x-algorithm optimize "Just shipped a new feature"
|
|
99
|
+
|
|
100
|
+
OPTIMIZED VERSIONS:
|
|
101
|
+
|
|
102
|
+
v1 (curiosity gap):
|
|
103
|
+
"The feature everyone asked for just shipped.
|
|
104
|
+
|
|
105
|
+
Took 6 months. Here's why it was worth the wait:"
|
|
106
|
+
|
|
107
|
+
v2 (social proof):
|
|
108
|
+
"1,247 people requested this feature.
|
|
109
|
+
|
|
110
|
+
Today we shipped it.
|
|
111
|
+
|
|
112
|
+
[screenshot]"
|
|
113
|
+
|
|
114
|
+
v3 (contrarian):
|
|
115
|
+
"Everyone said this feature was impossible.
|
|
116
|
+
|
|
117
|
+
We built it anyway.
|
|
118
|
+
|
|
119
|
+
Here's how:"
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
Which version, or iterate?
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Optimization Principles
|
|
127
|
+
|
|
128
|
+
### Maximize Positive Signals
|
|
129
|
+
|
|
130
|
+
**For P(favorite) - likes:**
|
|
131
|
+
- Strong opinion or take
|
|
132
|
+
- Relatable observation
|
|
133
|
+
- Emotional resonance
|
|
134
|
+
- Beautiful visually
|
|
135
|
+
|
|
136
|
+
**For P(reply) - replies:**
|
|
137
|
+
- Ask a question
|
|
138
|
+
- Create a knowledge gap
|
|
139
|
+
- Be slightly wrong (people love to correct)
|
|
140
|
+
- Request input
|
|
141
|
+
|
|
142
|
+
**For P(repost) - reposts:**
|
|
143
|
+
- Provide shareable value (tips, insights)
|
|
144
|
+
- Create "I wish I said that" moments
|
|
145
|
+
- Make people look smart for sharing
|
|
146
|
+
|
|
147
|
+
**For P(quote) - quotes:**
|
|
148
|
+
- Leave room for commentary
|
|
149
|
+
- Take a stance others want to respond to
|
|
150
|
+
- Share something people want to add context to
|
|
151
|
+
|
|
152
|
+
**For P(dwell) - time on tweet:**
|
|
153
|
+
- Longer, readable content
|
|
154
|
+
- Images that require study
|
|
155
|
+
- Threads with substance
|
|
156
|
+
- Videos
|
|
157
|
+
|
|
158
|
+
**For P(follow) - new followers:**
|
|
159
|
+
- Demonstrate unique expertise
|
|
160
|
+
- Show personality
|
|
161
|
+
- Consistent topic/niche
|
|
162
|
+
|
|
163
|
+
### Minimize Negative Signals
|
|
164
|
+
|
|
165
|
+
**Avoid P(not_interested):**
|
|
166
|
+
- Don't be generic
|
|
167
|
+
- Don't repeat what everyone says
|
|
168
|
+
- Don't post off-topic
|
|
169
|
+
|
|
170
|
+
**Avoid P(block/mute):**
|
|
171
|
+
- Don't be annoying
|
|
172
|
+
- Don't spam
|
|
173
|
+
- Don't be hostile
|
|
174
|
+
- Don't engage in bad faith
|
|
175
|
+
|
|
176
|
+
**Avoid P(report):**
|
|
177
|
+
- Don't violate ToS
|
|
178
|
+
- Don't harass
|
|
179
|
+
- Don't spread misinfo
|
|
180
|
+
|
|
181
|
+
## High-Engagement Patterns
|
|
182
|
+
|
|
183
|
+
### The Hook Patterns
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
1. CURIOSITY GAP
|
|
187
|
+
"I spent 3 years learning [X]. Here's what I wish I knew:"
|
|
188
|
+
|
|
189
|
+
2. CONTRARIAN
|
|
190
|
+
"Unpopular opinion: [hot take]"
|
|
191
|
+
|
|
192
|
+
3. STORY OPENER
|
|
193
|
+
"In 2019 I was [relatable struggle]. Now I [impressive outcome]."
|
|
194
|
+
|
|
195
|
+
4. SPECIFIC NUMBER
|
|
196
|
+
"I've [done X] 847 times. Here's what works:"
|
|
197
|
+
|
|
198
|
+
5. BEFORE/AFTER
|
|
199
|
+
"I used to [common mistake]. Then I learned [insight]."
|
|
200
|
+
|
|
201
|
+
6. QUESTION
|
|
202
|
+
"What's one thing you wish you learned earlier about [X]?"
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Thread Structures That Work
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
LISTICLE:
|
|
209
|
+
"10 [things] about [topic]:"
|
|
210
|
+
→ High dwell, easy to repost individual tweets
|
|
211
|
+
|
|
212
|
+
BUILD-UP:
|
|
213
|
+
1. Hook
|
|
214
|
+
2. Context
|
|
215
|
+
3. Insight
|
|
216
|
+
4. Proof
|
|
217
|
+
5. Implication
|
|
218
|
+
6. CTA
|
|
219
|
+
→ Maximizes dwell across thread
|
|
220
|
+
|
|
221
|
+
STORY:
|
|
222
|
+
1. "It was 2AM when..."
|
|
223
|
+
2. Rising action
|
|
224
|
+
3. Crisis point
|
|
225
|
+
4. Resolution
|
|
226
|
+
5. Lesson
|
|
227
|
+
6. CTA
|
|
228
|
+
→ High engagement, emotional resonance
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Visual Content
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
IMAGES:
|
|
235
|
+
- Screenshots > stock photos
|
|
236
|
+
- Before/after comparisons
|
|
237
|
+
- Data visualizations
|
|
238
|
+
- Behind-the-scenes
|
|
239
|
+
|
|
240
|
+
VIDEOS:
|
|
241
|
+
- Hook in first 1-3 seconds
|
|
242
|
+
- Subtitles (most watch muted)
|
|
243
|
+
- Native upload > links
|
|
244
|
+
- <2 min optimal
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## Integration with /content
|
|
248
|
+
|
|
249
|
+
When using `/content thread` or `/content post`, the X algorithm principles are automatically applied:
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
/content thread "our new pricing model"
|
|
253
|
+
|
|
254
|
+
Applying X algorithm optimization...
|
|
255
|
+
├─ Hook pattern: SPECIFIC NUMBER
|
|
256
|
+
├─ Thread structure: BUILD-UP
|
|
257
|
+
├─ Engagement triggers: curiosity, social proof
|
|
258
|
+
└─ Visual: screenshot recommendation
|
|
259
|
+
|
|
260
|
+
[generates thread with algorithm principles]
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
## Author Diversity Consideration
|
|
264
|
+
|
|
265
|
+
The algorithm attenuates repeated authors. Posting strategy matters:
|
|
266
|
+
|
|
267
|
+
```
|
|
268
|
+
SUBOPTIMAL:
|
|
269
|
+
Post → Post → Post → Post (same hour)
|
|
270
|
+
Algorithm reduces later posts' reach
|
|
271
|
+
|
|
272
|
+
BETTER:
|
|
273
|
+
Post → [gap] → Post → [gap] → Post
|
|
274
|
+
Each post gets full scoring potential
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
## Out-of-Network Discovery
|
|
278
|
+
|
|
279
|
+
To reach beyond your followers:
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
- Quote tweet popular accounts (your take on their content)
|
|
283
|
+
- Reply meaningfully to trending topics
|
|
284
|
+
- Create highly repostable content (others share to their network)
|
|
285
|
+
- Post content that generates quotes (your reach + quoter's reach)
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
## Metrics to Watch
|
|
289
|
+
|
|
290
|
+
After posting, monitor:
|
|
291
|
+
|
|
292
|
+
| Metric | What It Tells You |
|
|
293
|
+
|--------|-------------------|
|
|
294
|
+
| Impressions from For You | Algorithm reach |
|
|
295
|
+
| Impressions from profile | Direct followers |
|
|
296
|
+
| Engagement rate | Content quality signal |
|
|
297
|
+
| Quote:Repost ratio | How "discussable" content is |
|
|
298
|
+
| Reply quality | Community engagement depth |
|
|
299
|
+
|
|
300
|
+
## Source
|
|
301
|
+
|
|
302
|
+
Based on the open-sourced X algorithm:
|
|
303
|
+
https://github.com/xai-org/x-algorithm
|
|
304
|
+
|
|
305
|
+
The algorithm is continuously updated. Check the repo for latest changes.
|