Lint microtask
Skill exchanet/method_enterprise_builder_planning/agents/antigravity/.agent/skills/lint-microtask
ποΈ Universal 8-phase methodology for planning and building enterprise-grade, mission-critical software with AI coding agents. Supports Cursor AI, Claude Code, Kimi Code, Windsurf & Google Antigravity. Includes ADR validator, microtask linter & CI/CD templates. β₯99% test coverage. MIT.
npx -y skills add exchanet/method_enterprise_builder_planning --skill lint-microtaskAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Validate that a code file complies with the β€50 effective lines micro-task rule
SKILL.md
2.2 KB, as published. Nobody here has run it
Skill: Lint Microtask
Purpose
Validate that a source code file complies with the β€50 effective lines micro-task constraint. "Effective lines" excludes blank lines, comment-only lines, and import/using lines.
When to use
- After implementing any micro-task in Phase 4
- During the Check step of the PDCA-T cycle (Plan β Do β Check β Act β Test)
- Before marking a micro-task as complete
- When a file appears to exceed the 50-line budget
How to run
# Single file
node packs/enterprise-microtask-planner-pack/validators/microtask-linter/src/index.ts \
--task=src/payments/domain/money.ts
# All files in a directory
node packs/enterprise-microtask-planner-pack/validators/microtask-linter/src/index.ts \
--dir=src/payments/ --recursive
# Custom line limit
node packs/enterprise-microtask-planner-pack/validators/microtask-linter/src/index.ts \
--task=src/file.ts --max-lines=40
Supported languages
- TypeScript (
.ts,.tsx) - JavaScript (
.js,.mjs,.cjs) - Python (
.py)
Output interpretation
PASS:
β src/payments/domain/money.ts β PASS (38 effective lines)
FAIL with split suggestions:
β src/payments/application/authorize-payment.ts β FAIL (67 effective lines > 50)
Breakdown: 89 total | 67 code | 12 comments | 8 imports | 2 blank
Suggested split (3 units):
βββ extract: unit-1() [lines 1β28] ~22 effective lines
βββ extract: unit-2() [lines 29β55] ~24 effective lines
βββ extract: unit-3() [lines 56β89] ~21 effective lines
Result: 3 micro-tasks of ~22 lines each
Action on FAIL
- Review the split suggestions
- Extract each suggested unit into its own file
- Re-run the linter on each new file to confirm all pass
- Update the micro-task backlog to reflect the split
- Continue with the Act step of PDCA-T
Gate rule
A micro-task that exceeds 50 effective lines cannot be marked as complete until it is split.