bat-cat

View code files in the terminal with syntax highlighting, line numbers, and Git integration.

58.3k|3.9k|Updated Dec 29, 2015
One-click install
npx skills add https://github.com/penpot/penpot --skill bat-cat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bat-cat
Source: https://github.com/penpot/penpot/tree/main/.opencode/skills/bat-cat
Command: npx skills add https://github.com/penpot/penpot --skill bat-cat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code viewing for developers often lacks syntax highlighting, line numbers, and Git-aware context, making code inspection slower and error-prone.

Core Features & Use Cases

  • Syntax highlighting for source code to improve readability.
  • Line numbers and contextual decorations for easy navigation and review.
  • Git integration to display changes and commit context alongside code in the terminal.

Quick Start

Install bat-cat and run bat on a code file to see syntax highlighting and line numbers.

Frequently Asked Questions about bat-cat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I view code files in the terminal with syntax highlighting?

You can view code files in the terminal with syntax highlighting by using a code-aware cat replacement that applies colorized formatting and line numbers to source files, making code inspection faster and reducing errors.

What is the best way to inspect source code and Git diffs in the console?

Inspecting source code and Git diffs in the console is best done using a terminal-based file viewer with Git integration, which displays changes and commit context directly alongside your syntax-highlighted code.

Can I display line numbers for source files directly in my terminal?

Yes, you can display line numbers for source files in the terminal by using a code viewer that adds contextual decorations and line numbering for easy navigation and review across single or multiple files.

Does a code viewer work with Git integration to show changes in the terminal?

Yes, a terminal-based code viewer works with Git integration by displaying Git-aware decorations, showing file changes and commit context directly alongside the syntax-highlighted code in your console.

How do I apply custom themes to syntax highlighting in a terminal file viewer?

To apply custom themes to syntax highlighting in a terminal file viewer, you select from available theme options within the tool, allowing you to customize the visual style of your code inspection across projects.