viewing-files
Enhanced viewer using bat for syntax highlighting and Git integration.
Install
mkdir -p .claude/skills/viewing-files && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14949" && unzip -o skill.zip -d .claude/skills/viewing-files && rm skill.zipInstalls to .claude/skills/viewing-files
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when viewing source files or documentation with syntax highlighting, previewing files with Git integration, or when enhanced readability would improve code reviewKey capabilities
- →View source code with syntax highlighting
- →Preview files with Git integration
- →Display line numbers for enhanced readability
- →Control output styling components (numbers, changes, header, grid, snip)
- →Force language detection for files
- →Set custom color themes for output
How it works
The skill uses `bat` as an enhanced file viewer to display source files or documentation with syntax highlighting, Git integration, and line numbers.
Inputs & outputs
When to use viewing-files
- →View source code
- →Review code changes
- →Highlight file content
About viewing-files
Provides syntax-highlighted, line-numbered views of source code. Includes Git integration and flexible formatting for readability.
Use when viewing source files or documentation with syntax highlighting, previewing files with Git integration, or when enhanced readability would improve code review
When not to use it
- →When viewing very small files (<10 lines)
- →When viewing non-text/binary files
- →When simple concatenation without formatting is needed
Limitations
- →The skill is not recommended for very small files (<10 lines)
- →It is not suitable for non-text/binary files
- →It is not for simple concatenation without formatting
How it compares
This skill provides enhanced file viewing with syntax highlighting and Git integration, offering improved readability over basic `cat` command output.
Compared to similar skills
viewing-files side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| viewing-files (this skill) | 0 | 4mo | Review | Beginner |
| fetch-pr-comments | 4 | 6mo | Review | Beginner |
| comprehensive-review-pr-enhance | 1 | 4mo | Review | Beginner |
| todo | 0 | 3mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by SebastienDegodez
View all by SebastienDegodez →You might also like
fetch-pr-comments
Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.
comprehensive-review-pr-enhance
sickn33
You are a PR optimization expert specializing in creating high-quality pull requests that facilitate efficient code reviews. Generate comprehensive PR descriptions, automate review processes, and ensure PRs follow best practices for clarity, size, and reviewability.
todo
vladmandic
Search the entire codebase for TODO markers and create a markdown document with proposed next steps for each.
docs-review
metabase
Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.
claude-md-improver
anthropics
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
backend-to-frontend-handoff-docs
davila7
Create API handoff documentation for frontend developers. Use when backend work is complete and needs to be documented for frontend integration, or user says 'create handoff', 'document API', 'frontend handoff', or 'API documentation'.