

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1234567# 命令速查89## npm scripts1011```bash12# 文档站13npm run docs:dev # 本地预览 http://localhost:517314npm run docs:build # 输出到 docs/.vitepress/dist/15npm run docs:preview # 预览构建产物1617# Lint18npm run lint # 跑全部 lint:cases + commands + links19npm run lint:cases # 只校验所有 examples20npm run lint:cmds # grep 公开仓有没有裸 cut 命令21npm run lint:links # markdown 内部链接可达性2223# 案例脚手架24npm run new:example my-case # 在 examples/99-community/<handle>/my-case/ 生成骨架2526# 部署 (CI 自动跑;本地手动也可)27npm run r2:upload # 增量上传 dist 到 R2 cutcli-docs28npm run r2:gc -- --yes # 删除 R2 中已不在 dist 的孤儿对象(每周一次)29npm run worker:dev # 本地起 worker dev server30npm run worker:deploy # wrangler deploy 到 docs-cutcli31npm run deploy # = docs:build + r2:upload + worker:deploy32```3334## 案例校验3536```bash37# 校验单个 case38node scripts/validate-example.mjs examples/01-hello-caption3940# 校验所有41node scripts/validate-example.mjs --all42```4344## docs/reference 同步(来自闭源仓)4546```bash47# 在闭源仓内48cd /Users/m007/codes/jy_cli4950# 看会写什么、不实际写51node scripts/sync-to-cookbook.mjs --dry-run5253# 实际同步(默认输出到 ../cutcli-cookbook/docs/reference/)54node scripts/sync-to-cookbook.mjs5556# 自定义输出位置57node scripts/sync-to-cookbook.mjs --out /tmp/sync-test/5859# 跑同步脚本的单元测试60node scripts/sync.test.mjs61```6263## git / gh6465```bash66# 查看状态67git status -s6869# 提交(遵循 Conventional Commits,详见 commit-flow.mdc)70git commit -m "feat(examples): add 06-cinematic-title"7172# 推送73git push7475# 看 CI 跑得怎么样76gh run list --limit 577gh run watch <id>78gh run view <id> --log-failed | tail -407980# 手动触发 deploy81gh workflow run deploy-docs.yml8283# 配 secret84gh secret set CLOUDFLARE_API_TOKEN --body "$CLOUDFLARE_API_TOKEN"85gh secret set CLOUDFLARE_ACCOUNT_ID --body "11c47779f0d4c3d0e69ccc6c484dc589"8687# 看 secret 列表88gh secret list8990# 开 issue91gh issue create --title "..." --body-file body.md --label good-first-issue92```9394## Cloudflare wrangler9596> 本地用本仓的 `worker/node_modules/.bin/wrangler`,避免 npx 拉取慢。9798```bash99WR=worker/node_modules/.bin/wrangler100101# 检查身份102$WR whoami103104# R2 bucket 操作105$WR r2 bucket create cutcli-docs106$WR r2 bucket list107$WR r2 object put cutcli-docs/<key> --file=<local>108$WR r2 object delete cutcli-docs/<key>109110# Worker 部署111cd worker && $WR deploy112cd worker && $WR tail # 实时日志113cd worker && $WR dev # 本地114115# 看版本116$WR --version117```118119## cutcli (跑案例时用)120121```bash122# 装123curl -s https://cutcli.com/cli | bash124125# 跑某个案例126cd examples/01-hello-caption && bash run.sh127128# 命令速查129cutcli --help130cutcli docs # 离线手册131cutcli docs <topic> # 子命令手册132cutcli docs open # 在浏览器打开 docs.cutcli.com133134# 查询素材135cutcli query text-animations --type in --pretty136cutcli query stickers --action search --keyword "爱心"137cutcli query effects --action categories138cutcli query filters --action search --keyword "复古"139cutcli query transitions --action search --keyword "叠化"140```141142## 在线 smoke143144```bash145# 单页146curl -s -o /dev/null -w "%{http_code}\n" https://docs.cutcli.com/147148# 全套(部署后跑)149for p in / /guide/installation /guide/installation.html /reference/cli /cookbook/index /404-test; do150 code=$(curl -s -o /dev/null -w "%{http_code}" "https://docs.cutcli.com$p")151 echo " $code $p"152done153```154155## 一键全跑156157提交前自检:158159```bash160npm run lint && npm run docs:build && echo "✓ ready to commit"161```162
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| xuliang2024/cutcli-cookbook.cursor/rules/commit-flow.mdc · 167 | Cursor rules | gitdeploymentdocs | 74/100 | 14 days ago | |
| xuliang2024/cutcli-cookbook.cursor/rules/example-spec.mdc · 167 | Cursor rules | typessecuritydatabasedocs | 69/100 | 14 days ago | |
| xuliang2024/cutcli-cookbook.cursor/rules/open-source-boundary.mdc · 167 | Cursor rules | setup | 69/100 | 14 days ago | |
| xuliang2024/cutcli-cookbook.cursor/rules/deploy.mdc · 167 | Cursor rules | gitapideploymentdocs | 74/100 | 14 days ago | |
| xuliang2024/cutcli-cookbook.cursor/rules/docs-style.mdc · 167 | Cursor rules | builddocs | 73/100 | 14 days ago | |
| xuliang2024/cutcli-cookbook.cursor/rules/project-info.mdc · 167 | Cursor rules | no sections | 50/100 | 14 days ago | |
| xuliang2024/cutcli-cookbook.cursor/rules/directory-index.mdc · 167 | Cursor rules | do-notagent-behaviourdocs | 69/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/xuliang2024-cutcli-cookbook-cursor-rules-commands)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.