lint-microtask

lint-microtask is a skill for Claude Code, Codex from exchanet/method_enterprise_builder_planning. It costs 20 tokens per session (617 once invoked), scanned A, original, MIT.

A checker for a rule that keeps each micro-task source file at 50 or fewer effective lines. Effective lines exclude blank lines, comments, and imports.

In plain words
What is it for?
Use it after implementing a small task or during a Plan-Do-Check-Act-Test cycle to check TypeScript, JavaScript, and Python files.
Why use it?
It identifies files that are too large for the project's micro-task limit and can suggest where to split the work.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/exchanet/method_enterprise_builder_planning/lint-microtask
Any agent
npx skills add exchanet/method_enterprise_builder_planning --skill lint-microtask
Clone the repo
git clone --depth 1 https://github.com/exchanet/method_enterprise_builder_planning

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lint-microtask

README.md
[![agentmods](https://agentmods.dev/badge/skills/exchanet/method_enterprise_builder_planning/lint-microtask.svg)](https://agentmods.dev/skills/exchanet/method_enterprise_builder_planning/lint-microtask)
Your own site
<a href="https://agentmods.dev/skills/exchanet/method_enterprise_builder_planning/lint-microtask"><img src="https://agentmods.dev/badge/skills/exchanet/method_enterprise_builder_planning/lint-microtask.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.00617
Opus 5 $0.00010 $0.00309
Sonnet 5 $0.00004 $0.00123
Haiku 4.5 $0.00002 $0.00062

Measured 3d ago against content hash 000dbec4e987, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lint-microtask scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/antigravity/.agent/skills/lint-microtask/SKILL.md · 77 lines

What it actually says

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

  1. Review the split suggestions
  2. Extract each suggested unit into its own file
  3. Re-run the linter on each new file to confirm all pass
  4. Update the micro-task backlog to reflect the split
  5. 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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 77 lines · 20 tokens per session scan A 000dbec4e987

Subscribe to this mod's changes

lint-microtask is a skill published in the GitHub repository exchanet/method_enterprise_builder_planning (2 stars, last pushed 6mo ago), licensed MIT. It adds 20 tokens to every session and 617 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

033-architecture-diagrams

Use when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams, ER (Entity Relationship) diagrams, and bounded-context diagrams — through a modular, step-based interactive process that adapts to your…

jabrena/plinth · 117 tokens

042-planning-openspec

Use when creating or updating OpenSpec artifacts from an issue, plan, approved design, ADRs, existing OpenSpec, or a valid combination. The workflow assesses reviewable scope, records source authority and derivation, handles conflicts, and prevents silent synchronization. Triggers include Create OpenSpec from an…

jabrena/plinth · 94 tokens

059-design-atdd

Use when reviewing whether an OpenSpec change's execution goal, acceptance criteria, and implementation or verification tasks are aligned. This should trigger for requests such as Review this OpenSpec change with ATDD; Check acceptance criteria against tasks; Find acceptance criteria without task coverage; Detect…

jabrena/plinth · 93 tokens

022-root-cause-analysis

Use when a framed problem needs root-cause investigation rather than a symptom-level fix, applying Five Whys, Fishbone (Ishikawa), Current Reality Tree, and constraint identification. This should trigger when an issue's Root Cause Analysis point of view needs evaluation, or when a maintainer directly asks to find the…

jabrena/plinth · 85 tokens

025-quality-attribute-discovery

Use when a problem under exploration needs its quality attributes (non-functional requirements) identified and prioritized before architecture and design begin. This should trigger when an issue's Quality Attribute Discovery point of view needs evaluation, or when a maintainer directly asks to discover and prioritize…

jabrena/plinth · 78 tokens

031-architecture-adr-functional-requirements

Facilitates conversational discovery to create Architectural Decision Records (ADRs) for functional requirements covering CLI, REST/HTTP APIs, or both. Use when the user wants to document command-line or HTTP service architecture, capture functional requirements, create ADRs for CLI or API projects, or design…

jabrena/plinth · 115 tokens