doc-limits
Load to add, tune, or debug document byte ceilings and DOC_LIMITS_* settings.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 93
- Forks
- 37
01 前言 Front Matter
- name
- doc-limits
- license
- MIT
- metadata
- { "bugs": "https://github.com/vanillagreencom/kendex/issues", "author": "vanillagreen", "source": "kendex", "repository": "https://github.com/vanillagreencom/kendex" }
- description
- Load to add, tune, or debug document byte ceilings and DOC_LIMITS_* settings.
- user-invocable
- true
02 资源文件 5
- 参考文档README.md1.5 KB
- 参考文档references/policy.md3.4 KB
- 脚本scripts/doc-limits18.8 KB
- 脚本scripts/lib/diagnostics.sh405 B
- 脚本scripts/lib/settings.sh19.1 KB
03 SKILL.md 正文
<!-- kendex:project-instructions:start -->
Project Instructions
<!-- kendex:shared-instructions:start -->
Problems with a kendex-owned skill go through kendex report; check ownership in the file first.
<!-- kendex:shared-instructions:end -->
<!-- kendex:project-instructions:end -->
Doc Limits
Run the document byte-ceiling check before review and in CI. The commit-guards pre-commit and pre-push chains use the staged mode; at push the index is held equal to HEAD first, so that mode measures the tree being pushed.
.agents/skills/doc-limits/scripts/doc-limits
.agents/skills/doc-limits/scripts/doc-limits --staged
The check measures AGENTS.md, CLAUDE.md, GEMINI.md and SKILL.md, at the root and at any depth, and no other file. A document over its limit fails the check. Bring it under its limit in this order: cut restated content first, split only at a real subject boundary, and never delete a rule to fit. references/policy.md § Path classes says how a class sets a ceiling among those files.
A document that must stay whole gets a row in the configured excludes file with its reason. Class selection and the exclusion format are references/policy.md. Flags, settings and exit codes are in doc-limits --help.
04 同仓库更多 Skills
youtube-publish
Load to draft a YouTube upload, comment or reply, or send a draft after the user's recorded approval.
xcode-run
Load to install or dispatch a macOS GitHub Actions build, test or simulator screenshot run for an Xcode project.
worktree
Load to create, list, remove, push, or repair a git worktree.
social-media-content-calendar
Load to plan a social media campaign, build a content calendar, or adapt existing material into post drafts.
slack
Load to bind an overseer's mailbox to a private Slack channel, run or check the relay, or post an alert or a file to Slack.
second-opinion
Load for a cross-model review, challenge, audit, or quick consult.