Repository navigation
Conversation
## Authoritative URL Resolver (internal/resolver) - New package queries npm, PyPI, crates.io, and pkg.go.dev before web search - Uses maintainer-declared docs URLs (homepage/documentation fields in registries) - Three-layer resolution: package registry → curated DocHints → DuckDuckGo - Resolver base URLs are injectable for isolated testing (no live network in CI) - 9 tests covering npm, PyPI, crates.io, Go modules, dedup, cleanGitURL ## LLM-free Structured Extraction (internal/skill/extractor) - New StructuredExtractor implementing Compiler interface — no API key needed - Heading-based section mapping with ordered priority (specific before broad) - Sub-headings under matched sections preserved as content (not dropped) - Category from expanded registry (65+ libs) with exact + prefix matching - Description from first paragraph; when_to_use auto-generated - 6 tests covering section extraction, heading matching, and full compile output ## --llm Flag (cmd/root.go, cmd/add.go, cmd/scan.go, cmd/update.go) - Structured extraction is now the default — no markdocs init required - Pass --llm to use the configured LLM provider (existing behaviour) - Config loading skipped unless --llm is set; commands work without API key ## Registry Expansion (internal/skill/registry.go) - Expanded from 26 to 65+ libraries across all categories - Added CategoryForLibrary() with exact-then-prefix matching - Added Go backends (gin, fiber, echo, chi), state management (zustand, jotai, redux), data fetching (@tanstack/react-query, swr), auth (clerk, lucia), devtools (vite, esbuild, turbo), and more ## Version bump: 0.2.1 → 0.3.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
After LLM compilation, users are shown a preview of the skill and prompted to Accept, Edit in \$EDITOR, or Discard before any file is written. Batch/automated callers (scan --add-all, update) pass noInteractive=true to skip the prompt. - ui: add ReviewDraft(), openInEditor(), ReviewAction constants - pipeline: add noInteractive bool param; insert review gate between compile and write; nil,nil return signals user discard - add/scan/update: thread the flag through to the pipeline call Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
markdocs draft <name> accepts free-form notes, documentation, or any text content (via interactive textarea or stdin pipe) and compiles it into a structured skill file using the configured compiler. Applies the same draft-review step as `add` before writing to disk. cat api-docs.md | markdocs draft internal-api markdocs draft internal-api # interactive textarea Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Update README and CLAUDE.md to reflect the new draft-review workflow and the markdocs draft command. Reframes the tool from "auto-compile library docs" to "draft and create custom skills from documentation". - README: new tagline, 6-step How It Works, markdocs draft section, updated add flags table, keep badges - CLAUDE.md: new description, updated directory structure, pipeline and ReviewDraft docs, draft command example Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New files
Test plan
Resolution strategy
🤖 Generated with Claude Code