Skip to content
lint-kb logo

Lint KB Documentation

lint-kb

Validate and enforce KB documentation formats, completeness, and integrity. Checks recent docs (uncommitted or last N commits) against KB standards. CHECKS PERFORMED: 1. FORMAT - Documents follow required templates (headers, sections) 2. COMPLETENESS - Tickets/issues have all required files (1-5...

SKILL.md

Full skill instructions

Lint KB Documentation

Validate and enforce KB documentation formats, completeness, and integrity.

Prerequisites

ALWAYS run /​pmc:kb first to understand KB structure and formats.

Check Modes

ModeScopeCommand
RecentUncommitted + last 3 commits/​lint-kb (default)
FullAll KB docs/​lint-kb full
TicketsOnly tickets/​issues/​lint-kb tickets

Step 1: Identify Docs to Check

use /​pmc:kb first.

Recent Mode (Default)

# Uncommitted changes
git status --porcelain .pmc/​docs/

# Recently committed (last 3)
git log -3 --name-only --pretty=format: -- .pmc/​docs/ | sort -u

Full Mode

Glob: .pmc/​docs/​**/​*.md

Step 2: Ticket/​Issue Completeness

Required Files

Each ticket/​issue directory MUST have these files:

FileRequiredPurpose
1-definition.mdAlwaysWhat: scope, success criteria
2-plan.mdAlwaysHow: steps, decisions
3-spec.mdAlways*TDD: tests, edge cases
4-progress.mdIn progressLog: TDD cycles, notes
5-final.mdOn completionDone: status, learnings

*3-spec.md may be minimal for trivial tickets (TDD: no in constraints).

Check Procedure

Glob: .pmc/​docs/​tickets/​T*/

For each directory:

  1. List files present
  2. Report missing required files
  3. Check 5-final.md has Status: COMPLETE or Status: BLOCKED

Report Format

## Ticket Completeness

| Ticket | 1-def | 2-plan | 3-spec | 4-prog | 5-final | Status |
|--------|-------|--------|--------|--------|---------|--------|
| T00021 | OK    | OK     | OK     | OK     | OK      | COMPLETE |
| T00022 | OK    | OK     | MISSING| -      | -       | In Progress |

Step 3: Index Integrity

Tickets Index

Read: .pmc/​docs/​tickets/​index.md
Glob: .pmc/​docs/​tickets/​T*/

Check:

  1. Every T*/ directory has entry in index.md
  2. No orphan entries (listed but directory missing)
  3. Format: T0000N Brief Title (one per line)

Roadmap Integrity

Read: .pmc/​docs/​3-plan/​roadmap.md

Check:

  1. ALL active tickets appear in roadmap (single or in phase)
  2. Phase ticket references exist as directories
  3. No stale references to archived tickets

Critical: Every ticket in tickets/ (not archived) MUST be in roadmap.md - whether as a single item or within a phase.

Report Format

## Index Integrity

### tickets/​index.md
- Missing entries: T00023, T00024
- Orphan entries: none

### 3-plan/​roadmap.md
- Stale reference: T00015 (archived)
- Missing from roadmap: T00021

Step 4: Format Validation

All format requirements are in kb/​references/:

Document TypeReferenceKey Requirements
PRDsprd-format.mdHeader, Overview/​Scope, prefix (feat-/​comp-/​infra-)
SOPssop-format.mdHeader, Steps, verb-noun filename
Patternspattern-format.mdStatus field (open/​resolved), Problem section
Code Mapscodemap-format.mdHeader, Last updated, Key Files
Ticketsticket-formats.mdAll 5 docs with required sections

Read the relevant reference file to understand what to validate.

Report Format

## Format Validation

| File | Issue |
|------|-------|
| 4-patterns/​caching.md | Missing Status field |
| 2-sop/​deploy.md | Filename should be verb-noun |
| tickets/​T00022/​1-definition.md | Missing Scope section |

Step 5: Fix or Report

Auto-fixable Issues

Some issues can be auto-fixed:

  • Add missing Status: open to patterns
  • Add ticket to index.md
  • Create stub files for missing ticket docs

Manual Review Required

  • Format violations in existing content
  • Stale roadmap references
  • Incorrect naming conventions

How It Works

This is a Claude-interpreted skill (no CLI script). When invoked:

  1. Claude reads this SKILL.md for validation rules
  2. Claude performs checks using Glob/​Grep/​Read tools
  3. Claude reports issues and can fix them on request

Usage:

/​lint-kb              # Claude performs validation, reports issues
/​lint-kb fix patterns # Claude fixes specific category

Quick Checks

One-liner Integrity Check

# Tickets not in index
comm -23 <(ls -1 .pmc/​docs/​tickets/ | grep '^T' | sort) \
         <(grep -oE 'T[0-9]+' .pmc/​docs/​tickets/​index.md | sort)

# Patterns without Status
grep -L -i 'Status:' .pmc/​docs/​4-patterns/​*.md

Checklist

Completeness

  • All tickets have 1-definition.md
  • All tickets have 2-plan.md
  • All tickets have 3-spec.md (or TDD: no)
  • Completed tickets have 5-final.md

Integrity

  • All tickets in index.md
  • ALL active tickets in roadmap.md (single or in phase)
  • No stale references to archived items

Format

  • PRDs have required sections
  • SOPs follow verb-noun naming
  • Patterns have Status field
  • Code maps have Last updated
  • Ticket definitions have Scope

Example Run

$ /​lint-kb

Checking KB documentation...

## Scope
- Mode: recent (uncommitted + last 3 commits)
- Files to check: 8

## Ticket Completeness

| Ticket | Files | Status |
|--------|-------|--------|
| T00021 | 5/​5   | COMPLETE |
| T00022 | 2/​5   | Missing: 3-spec, 4-progress, 5-final |

## Index Integrity

tickets/​index.md:
- Missing: T00022

3-plan/​roadmap.md:
- OK

## Format Validation

4-patterns/​new-pattern.md:
- Missing: Status field (add "Status: open" or "Status: resolved")

## Summary
- Errors: 2
- Warnings: 1
- Auto-fixable: 1 (run with --fix)

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View