libanalysis
libanalysis - Code analysis and formatting utilities. formatForAnalysis function prepares markdown documents with Prettier formatting and line numbers for LLM code review tasks. Use for document preparation, code analysis, and creating numbered reference documents for AI processing.
npx skills add majiayu000/claude-skill-registry --skill libanalysis-copilot-ld-copilot-ld-2 --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# libanalysis Skill ## When to Use - Preparing documents for LLM-based code review - Formatting markdown with line numbers for reference - Creating numbered documents for analysis tasks - Pre-processing content before sending to AI ## Key Concepts **formatForAnalysis**: Formats markdown content using Prettier and prepends line numbers, making it easy for LLMs to reference specific lines in their responses. ## Usage Patterns ### Pattern 1: Format document for analysis ```javascript import { formatForAnalysis } from "@copilot-ld/libanalysis"; const document = `# README This is a code sample.`; const formatted = await formatForAnalysis(document); // Returns: // 1: # README // 2: This is a code sample. ``` ## Integration Standalone utility used in analysis scripts and evaluation pipelines.
- When to Use
- Key Concepts
- Usage Patterns
- Pattern 1: Format document for analysis
- Integration
What does the libanalysis skill do?
libanalysis - Code analysis and formatting utilities. formatForAnalysis function prepares markdown documents with Prettier formatting and line numbers for LLM code review tasks. Use for document preparation, code analysis, and creating numbered reference documents for AI processing.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill libanalysis-copilot-ld-copilot-ld-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
