splitsym

Extract comments and split symbols from source files. Use when users want to extract inline comments, docstrings, or block comments from code files to understand structure or generate documentation.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "splitsym" with this command: npx skills add turinfohlen/splitsym

splitsym

Extract split symbols (line or pair) from source files. Analyzes source code and extracts comments based on file type.

Usage

splitsym <file> [--lines M-N] [--config CONFIG]

Arguments

ArgumentDescription
fileSource file to analyze (required)
--linesOptional line range (e.g., 100-200)
--configPath to symbols.json config (default: ~/.config/splitsym/symbols.json)

Supported File Types

ExtensionComment Style
.py, .rb, .sh, .yaml# comment
.c, .js, .ts, .java// comment
.sql, .hs-- comment
.lisp, .clj; comment
.tex, .erl% comment
.html, .xml, .vue<!-- comment -->
.py"""docstring""" or '''docstring'''
.ml, .mli(* comment *)

Example

# Extract all comments from a Python file
splitsym myfile.py

# Extract comments from specific line range
splitsym myfile.py --lines 100-200

# Use custom config
splitsym myfile.py --config ./my-symbols.json

Output Format

   123      PAIR: multi-line comment content...
     45    # This is a comment line
  • Line numbers are right-aligned (6 digits)
  • Indentation is preserved
  • PAIR: prefix indicates multi-line block comments

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Free Video Music

add video clips into music-backed videos with this skill. Works with MP4, MOV, AVI, WebM files up to 500MB. content creators use it for adding royalty-free b...

Registry SourceRecently Updated
Coding

Dependency Impact Analyzer

Analyze the blast radius of upgrading, removing, or replacing a dependency — trace imports, find affected files, check test coverage of impacted code, detect...

Registry SourceRecently Updated
Coding

Ci Pipeline Optimizer

Analyze CI/CD pipelines (GitHub Actions, GitLab CI, CircleCI) and suggest optimizations — caching strategies, parallelization, step elimination, Docker layer...

Registry SourceRecently Updated
Coding

Generator By Link

Get generated video clips ready to post, without touching a single slider. Upload your URL or link (MP4, MOV, WebM, AVI, up to 500MB), say something like "ge...

Registry SourceRecently Updated