Back to list
JokeJason

filter-docs

by JokeJason

downloads official documentation, filters it with AI assistance, and generates skills that make the docs available as local context for AI coding agents—a local alternative to Context7's cloud-based documentation lookup

2🍴 0📅 Jan 19, 2026

SKILL.md


name: filter-docs description: AI-assisted filtering to identify and remove non-useful documentation files. Generates review manifests and applies deletion lists. user-invocable: false

Filter Docs

AI-assisted documentation filtering to keep only files useful for developers.

Quick Start

Generate review file for a manifest:

.claude/skills/filter-docs/scripts/filter-docs.sh {manifest-name}

Apply deletions (after creating ._delete.txt):

.claude/skills/filter-docs/scripts/filter-docs.sh {manifest-name}

Workflow

Step 1: Generate Review

Run the filter script to create output/{manifest}/._review.json containing:

  • File paths and names
  • File sizes and line counts
  • First 10 lines as preview

Step 2: AI Evaluation

Read the review JSON and evaluate each file against these criteria:

KEEP - Files that help developers USE the library:

  • API reference documentation
  • Usage guides and tutorials
  • Configuration and setup docs
  • Code examples and patterns
  • Integration guides
  • Troubleshooting guides

DELETE - Files NOT useful for using the library:

  • Internal development docs
  • Contribution guidelines (CONTRIBUTING.md)
  • Release notes and changelogs
  • Meeting notes, RFCs, proposals
  • Marketing and landing pages
  • Duplicate or stub files
  • Auto-generated index files with no content
  • License files (already excluded by default)

Step 3: Create Delete List

Write paths of files to delete to output/{manifest}/._delete.txt:

  • One relative path per line (relative to output/{manifest}/)
  • Lines starting with # are ignored as comments

Example:

# Internal docs
internal/architecture.md
internal/roadmap.md
# Marketing
landing-page.md

Step 4: Apply Deletions

Run the filter script again. It will:

  1. Delete all files listed in ._delete.txt
  2. Remove empty directories
  3. Delete the ._delete.txt file

Output Files

FilePurpose
._review.jsonFile metadata and previews for AI review
._delete.txtList of files to delete (you create this)

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon