177-liukuan/tencentdb-agent-memory-eval-kit/cli-batch-file-safety
Claude Code and agent skill by 177-liukuan/tencentdb-agent-memory-eval-kit
- community
Checking that the SKILL.md file is still in the repository.
Use when building command-line tools or batch processors that modify files, perform destructive operations, resume work, merge configuration, report partial failures, or need reliable cross-platform behavior. The skill emphasizes dry-run, atomic writes, exit codes, checkpoints, and clear summaries.
Install
npx vskill@latest install 177-liukuan/tencentdb-agent-memory-eval-kit/cli-batch-file-safetySKILL.md
The same SKILL.md was published earlier as 177-liukuan/tencentdb-agent-memory-eval-kit/cli-batch-file-safety.
CLI Batch File Safety
When to Use
- Building a destructive or batch CLI
- Writing files safely
- Adding resume/checkpoint behavior
- Defining configuration precedence and exit codes
Core Workflow
- Define inputs, outputs, and failure contract.
- Add help, validation, dry-run, and deterministic planning.
- Perform atomic or resumable writes.
- Track success, skipped, and failed items.
- Return documented exit codes and test interruption paths.
Reference Files
| Topic | File | Load when | |
|---|---|---|---|
| Atomic Write | references/atomic-write.md | Read when the task directly involves this topic | |
| Resumable Batch | references/resumable-batch.md | Read when the task directly involves this topic |
Constraints
MUST DO
- Use atomic replacement for final files.
- Offer dry-run for destructive actions.
- Report partial failures explicitly.
MUST NOT DO
- Silently overwrite files.
- Return success when items failed.
- Assume one platform path syntax.
Output
Return the changed files or proposed patch, the verification performed, and any remaining risk. Keep unrelated changes out of the final diff.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdataset/skills/cli-batch-file-safety/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/177-liukuan/tencentdb-agent-memory-eval-kit/cli-batch-file-safety)