foryourhealth111-pixel/Vibe-Skills / bundled/skills/smart-file-writer
smart-file-writer
FlaggedIntelligent file write error handler: diagnoses permissions, disk space, path length, file locks before retrying. Use when you encounter 'Error writing file', 'Permission denied', 'Access denied', 'No space left', or related file write failures.
| File | Kind | Size |
|---|---|---|
| QUALITY_CHECKLIST.md | markdown | 3.5 KB |
| README.md | markdown | 3.1 KB |
| SKILL.md | skill md | 10.3 KB |
| references/diagnostic-procedures.md | markdown | 6.9 KB |
| references/index.md | markdown | 1.7 KB |
| references/integration-guide.md | markdown | 13.9 KB |
| references/platform-specific.md | markdown | 8.0 KB |
| scripts/validate.py | script | 5.3 KB |
references/index.md
View on GitHub# smart-file-writer References
Navigation index for detailed documentation.
## Core Documentation
### [diagnostic-procedures.md](diagnostic-procedures.md)
Detailed step-by-step diagnostic workflows for each error type:
- Permission errors
- Disk space issues
- Path length problems
- File locking
- File system limitations
### [platform-specific.md](platform-specific.md)
Platform-specific issues and solutions:
- Windows: Path length limits, file attributes, handle.exe usage
- Linux: Permission models, inode limits, filesystem types
- macOS: Extended attributes, Gatekeeper interference
### [integration-guide.md](integration-guide.md)
How to integrate smart-file-writer with Claude Code tools:
- Wrapping Write tool calls
- Wrapping Edit tool calls
- Wrapping Bash file operations
- Proactive validation patterns
### [error-catalog.md](error-catalog.md)
Comprehensive catalog of file write errors:
- Error messages by platform
- Root cause mapping
- Resolution strategies
- Prevention techniques
## Quick Links
- **Most Common Issue**: Permission denied → See diagnostic-procedures.md § Permission Errors
- **Windows Path Limits**: → See platform-specific.md § Windows Path Length
- **File Locks**: → See diagnostic-procedures.md § File Locking Detection
- **Proactive Validation**: → See integration-guide.md § Pre-Write Validation
## External Resources
- [Python os module](https://docs.python.org/3/library/os.html)
- [Python shutil module](https://docs.python.org/3/library/shutil.html)
- [Windows File System Limits](https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation)
- [POSIX File Permissions](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |