Back to Skills

state-directory-manager

majiayu000
Updated 11 days ago
14 views
58
9
58
View on GitHub
Otherbashstatepersistenceconfigdirectoryxdg

About

This skill provides bash scripts with XDG Base Directory compliant state management for persisting data, configuration, and cache between runs. It's ideal for CLI tools that need to store user preferences, cache results, or manage logs following standard specifications. Developers should use it when building portable bash tools that require persistent state across multiple executions.

Quick Install

Claude Code

Recommended
Primary
npx skills add majiayu000/claude-skill-registry -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/state-directory-manager

Copy and paste this command in Claude Code to install this skill

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/bash/state-directory-manager
0

Related Skills

usage-tracker

Other

The usage-tracker skill enables developers to track and analyze tool or resource usage over time through timestamped logging and reporting. It's designed for generating periodic usage reports, monitoring quotas, and detecting usage trends, but is not suitable for real-time or high-frequency event tracking. Key capabilities include daily/weekly/monthly breakdowns and pattern analysis for building dashboards.

View skill

parallel-batch-executor

Other

This skill enables parallel task execution in bash using xargs and job control for significant performance gains. It's ideal for batch operations on independent items like multiple files or repositories, particularly for I/O-bound tasks. Developers should use it when order doesn't matter and avoid it for tasks with dependencies or shared resource requirements.

View skill

cross-platform-compat

Other

This skill provides canonical bash patterns and command replacements for writing portable scripts across Windows Git Bash, Linux, and macOS. It includes OS detection and fixes for common breaking commands like `bc`, `python3`, `nproc`, and `sed -i`. Use it when writing or auditing scripts that need to run reliably on different development machines.

View skill

complexity-scorer

Other

This skill analyzes task complexity using keyword matching and heuristic rules to classify tasks for routing and prioritization. It's ideal for building intelligent dispatchers that direct work to appropriate handlers or recommend resources based on configurable thresholds. Use it for auto-classifying requests, but avoid for simple yes/no decisions or highly specialized domains.

View skill