본문으로 건너뛰기
cccskills
무료GitHub에 공개

tldr-cli

TLDR CLI komut referansi. tree, structure, search, extract, context, cfg, dfg, slice, calls, impact, dead, arch, imports, importers, diagnostics, change-impact komutlari.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

TLDR CLI - Code Analysis Tool

You have tldr available on PATH for token-efficient code analysis.

Commands

# Core analysis
tldr tree [path]                    # File tree
tldr structure [path] --lang <lang> # Code structure (codemaps)
tldr search <pattern> [path]        # Search files
tldr extract <file>                 # Full file info
tldr context <entry> --project .    # LLM-ready context

# Flow analysis
tldr cfg <file> <function>          # Control flow graph
tldr dfg <file> <function>          # Data flow graph
tldr slice <file> <func> <line>     # Program slice
tldr calls [path]                   # Cross-file call graph

# Codebase analysis
tldr impact <func> [path]           # Who calls this function? (reverse call graph)
tldr dead [path]                    # Find unreachable/dead code
tldr arch [path]                    # Detect architectural layers

# Import analysis
tldr imports <file>                 # Parse imports from a file
tldr importers <module> [path]      # Find all files that import a module

# Quality & testing (NEW)
tldr diagnostics <file|path>        # Type check + lint (pyright/ruff)
tldr change-impact [files...]       # Find tests affected by changes

When to Use

  • Before reading files: Run tldr structure . to see what exists
  • Finding code: Use tldr search "pattern" instead of grep for structured results
  • Understanding functions: Use tldr cfg for complexity, tldr dfg for data flow
  • Debugging: Use tldr slice file.py func 42 to find what affects line 42
  • Context for tasks: Use tldr context entry_point to get relevant code
  • Impact analysis: Use tldr impact func_name before refactoring to see what would break
  • Dead code: Use tldr dead src/ to find unused functions for cleanup
  • Architecture: Use tldr arch src/ to understand layer structure
  • Import tracking: Use tldr imports file.py to see what a file imports
  • Reverse imports: Use tldr importers module_name src/ to find who imports a module
  • Before tests: Use tldr diagnostics . to catch type errors before running tests
  • Selective testing: Use tldr change-impact to run only affected tests

Languages

Supports: python, typescript, go, rust

Example Workflow

# 1. See project structure
tldr tree src/ --ext .py

# 2. Find relevant code
tldr search "process_data" src/

# 3. Get context for a function
tldr context process_data --project src/ --depth 2

# 4. Understand control flow
tldr cfg src/processor.py process_data

# 5. Before refactoring - check impact
tldr impact process_data src/ --depth 3

# 6. Find dead code to clean up
tldr dead src/ --entry main cli

Codebase Analysis Commands

Impact Analysis

tldr impact <function> [path] --depth N --file <filter>

Shows reverse call graph - all functions that call the target. Useful before refactoring.

Dead Code Detection

tldr dead [path] --entry <patterns>

Finds functions never called (excluding entry points like main, test_, etc.)

Architecture Detection

tldr arch [path]

Analyzes call patterns to detect:

  • Entry layer (controllers/handlers)
  • Middle layer (services)
  • Leaf layer (utilities)
  • Circular dependencies

Import Analysis

tldr imports <file> [--lang python]

Parses all import statements from a file. Returns JSON with module names, imported names, aliases.

Reverse Import Lookup

tldr importers <module> [path] [--lang python]

Finds all files that import a given module. Complements tldr impact which tracks function calls - this tracks imports.

Diagnostics (Type Check + Lint)

tldr diagnostics <file>              # Single file
tldr diagnostics . --project         # Whole project
tldr diagnostics src/ --format text  # Human-readable output
tldr diagnostics src/ --no-lint      # Type check only

Runs pyright (types) + ruff (lint) and returns structured errors. Use before tests to catch type errors early.

Change Impact (Selective Testing)

tldr change-impact                   # Auto-detect (session/git)
tldr change-impact src/foo.py        # Explicit files
tldr change-impact --session         # Session-modified files
tldr change-impact --git             # Git diff files
tldr change-impact --run             # Actually run affected tests

Finds which tests to run based on changed code. Uses call graph + import analysis.

Output

All commands output JSON (except context which outputs LLM-ready text, diagnostics --format text for human output).

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

WCAG 2.2 AA compliance, ARIA patterns, keyboard navigation, screen reader optimization

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

axe-core integration, WCAG 2.2 AA checklist, keyboard navigation testing, screen reader testing, and ARIA pattern validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Steam-style achievement system with XP, levels, streaks, and skill trees. Gamifies the development workflow. 25 achievements across 5 categories.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Framework for measuring and tracking agent response quality over time. Detects regressions before they reach production. Use when evaluating agent changes, auditing quality, or establishing performance baselines.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Agent Context Isolation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

Agent ve skill dosyalarinin yapisal dogrulamasi. Frontmatter kontrol, naming convention, zorunlu bolum kontrolu, tutarlilik denetimi. Yeni agent/skill eklendiginde veya mevcut dosyalar duzenlediginde otomatik calistirilir.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vibeeval/vibecosystem5382026년 8월 9일 업데이트

vibeeval의 스킬 모두 보기

이 스킬의 문제 신고