absolute-path-checker

Detect absolute path literals in source code for portability.

Updated Jul 7, 2025
One-click install
npx skills add https://github.com/tettuan/climpt --skill absolute-path-checker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: absolute-path-checker
Source: https://github.com/tettuan/climpt/tree/main/.claude/skills/absolute-path-checker
Command: npx skills add https://github.com/tettuan/climpt --skill absolute-path-checker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill discusses and enforces that implementation code does not contain absolute path literals (including those referencing HOME directories) to improve portability across environments.

Core Features & Use Cases

  • Code portability checks: Identify absolute path literals in source files.
  • Refactor recommendations: Suggest converting to relative paths or environment-variable references.
  • Use Case: Before shipping a library, ensure there are no hard-coded user-specific paths that would break in CI or on other developers' machines.

Quick Start

Run the checker across your repository to locate absolute paths and guide replacements with relative paths or environment variables.