Skip to content
Back to skills

Libanalysis Copilot Ld Copilot Ld 2

ASecurity

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.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 31, 2026
documentationjavascriptjava

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add majiayu000/claude-skill-registry --skill libanalysis-copilot-ld-copilot-ld-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Libanalysis Copilot Ld Copilot Ld 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Libanalysis Copilot Ld Copilot Ld 2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-libanalysis-copilot-ld-copilot-ld-2/badge)](https://www.skillsdirectory.com/skills/majiayu000-libanalysis-copilot-ld-copilot-ld-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: libanalysis
description: >
  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.
---

# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.