home/productivity/prompt-patterns-30

Prompt Patterns

GPTClaudeDeepSeek··234 copies·updated 2026-07-14
prompt-patterns-30.prompt
**Skill**: [Chezmoi Workflows](../SKILL.md)

## Command Reference

Quick reference for chezmoi commands with expected outputs.

---

## Status Commands

| Command             | Expected Output                                       |
| ------------------- | ----------------------------------------------------- |
| `chezmoi status`    | `M` modified, `A` added, `D` deleted, empty = in sync |
| `chezmoi diff`      | Unified diff, empty = no changes                      |
| `chezmoi managed`   | List of all tracked files                             |
| `chezmoi verify`    | Exit 0 = success, non-zero = drift detected           |
| `chezmoi unmanaged` | Files in target not tracked by chezmoi                |

---

## Tracking Commands

| Command                   | Effect                                         |
| ------------------------- | ---------------------------------------------- |
| `chezmoi add ~/.zshrc`    | Add file to source, auto-commits if configured |
| `chezmoi re-add`          | Re-add all managed files that changed          |
| `chezmoi forget ~/.zshrc` | Stop tracking file (keeps in home)             |

---

## Sync Commands

| Command                  | Effect                                    |
| ------------------------ | ----------------------------------------- |
| `chezmoi apply`          | Deploy source to home directory           |
| `chezmoi apply ~/.zshrc` | Deploy single file                        |
| `chezmoi update`         | Pull from remote + apply (single command) |

---

## Git Commands

All git operations use `chezmoi git --` prefix for portability:

| Command                           | Effect                    |
| --------------------------------- | ------------------------- |
| `chezmoi git -- status`           | Git status of source repo |
| `chezmoi git -- log --oneline -5` | Recent commits            |
| `chezmoi git -- push`             | Push to remote            |
| `chezmoi git -- pull`             | Pull from remote          |
| `chezmoi git -- remote -v`        | Show configured remotes   |

---

## Workflow: Track Changes

when to use it

Community prompt sourced from the open-source GitHub repo terrylica/cc-skills (MIT). A "Prompt Patterns" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

terrylica/cc-skills · MIT