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 |
QUALITY_CHECKLIST.md
View on GitHub# Quality Gate Checklist - smart-file-writer
## Pre-Delivery Validation
### ✓ 1. Name Format
- [x] `name` matches `^[a-z][a-z0-9-]*$`: **smart-file-writer** ✓
- [x] `name` matches directory name: **smart-file-writer** ✓
### ✓ 2. Description
- [x] States "what + when" with concrete trigger keywords
- [x] Includes: "Error writing file", "Permission denied", "Access denied", "No space left"
- [x] Clearly describes capability: "diagnoses permissions, disk space, path length, file locks"
### ✓ 3. When to Use This Skill
- [x] Has decidable triggers (not vague)
- [x] Lists specific error messages and scenarios
- [x] Includes both reactive and proactive modes
### ✓ 4. Not For / Boundaries
- [x] Clearly states what skill does NOT do
- [x] Lists required inputs
- [x] Prevents misfires and over-promising
### ✓ 5. Quick Reference
- [x] Contains directly usable patterns (copy/paste ready)
- [x] Patterns are concise and actionable
- [x] Count: 6 diagnostic patterns + 6 resolution patterns = 12 total (within recommended limit)
- [x] Each pattern has code examples
### ✓ 6. Examples
- [x] Has >= 3 reproducible examples (has 5)
- [x] Each example includes:
- [x] Input (error scenario)
- [x] Steps (diagnostic process)
- [x] Expected output (resolution)
- [x] Examples cover different scenarios:
- Missing directory
- Long path (Windows)
- Permission denied
- File locked
- Low disk space
### ✓ 7. References
- [x] Long content moved to `references/`
- [x] Has `references/index.md` for navigation
- [x] Reference files:
- [x] diagnostic-procedures.md
- [x] platform-specific.md
- [x] integration-guide.md
- [x] index.md
### ✓ 8. No Bluffing
- [x] All claims are verifiable
- [x] Based on documented OS behavior
- [x] Code examples are tested (validation script passes)
- [x] Platform-specific details are accurate
### ✓ 9. Operator's Manual Style
- [x] Reads like actionable documentation
- [x] Not a documentation dump
- [x] Clear, concise, practical
- [x] Focused on solving problems
## Additional Quality Checks
### ✓ 10. Validation Script
- [x] Has `scripts/validate.py`
- [x] Tests pass on target platform (6/6 tests passed)
- [x] Covers key functionality:
- Path length detection
- Permission checks
- Disk space checks
- Parent directory validation
- Atomic writes
- File lock detection
### ✓ 11. Documentation Completeness
- [x] Has README.md with quick start
- [x] Has SKILL.md as entrypoint
- [x] Has comprehensive references
- [x] Has integration guide for Claude Code tools
### ✓ 12. Platform Coverage
- [x] Windows-specific issues documented
- [x] Linux-specific issues documented
- [x] macOS-specific issues documented
- [x] Cross-platform best practices included
### ✓ 13. Integration
- [x] Shows how to integrate with Write tool
- [x] Shows how to integrate with Edit tool
- [x] Shows how to integrate with Bash tool
- [x] Provides proactive validation patterns
## Final Score
**All checks passed: 13/13** ✓
## Recommendations
The skill is production-ready and meets all quality criteria:
1. **Auto-activation triggers** are well-defined and decidable
2. **Diagnostic procedures** are systematic and comprehensive
3. **Resolution strategies** are practical and safe
4. **Platform coverage** is thorough
5. **Integration guidance** is clear and actionable
6. **Validation** is automated and passing
## Deployment Status
✓ **APPROVED FOR DEPLOYMENT**
The skill is installed at:
```
C:\Users\羽裳\.claude\skills\smart-file-writer\
```
It will auto-activate when file write errors occur in Claude Code.
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: 196k | 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: 196k | 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: 196k | Updated | Claude CodeCodex | Verified | Install |