Design Tool
Design Tool v2.0.0 — a utility toolkit for logging, tracking, and managing design-related entries from the command line.
Commands
All commands accept optional input arguments. Without arguments, they display recent entries from the corresponding log. With arguments, they record a new timestamped entry.
| Command |
Description |
run <input> |
Record or view run entries |
check <input> |
Record or view check entries |
convert <input> |
Record or view convert entries |
analyze <input> |
Record or view analyze entries |
generate <input> |
Record or view generate entries |
preview <input> |
Record or view preview entries |
batch <input> |
Record or view batch entries |
compare <input> |
Record or view compare entries |
export <input> |
Record or view export entries |
config <input> |
Record or view config entries |
status <input> |
Record or view status entries |
report <input> |
Record or view report entries |
stats |
Show summary statistics across all log files |
search <term> |
Search all log entries for a keyword (case-insensitive) |
recent |
Display the 20 most recent history log entries |
help |
Show usage information |
version |
Print version (v2.0.0) |
Data Storage
All data is stored locally in ~/.local/share/design-tool/:
- Per-command logs — Each command (run, check, convert, etc.) writes to its own
.log file with pipe-delimited timestamp|value format.
- history.log — A unified activity log recording every write operation with timestamps.
- Export formats — The
export utility function supports JSON, CSV, and TXT output, written to ~/.local/share/design-tool/export.<fmt>.
No external services, databases, or API keys are required. Everything is flat-file and human-readable.
Requirements
- Bash (v4+ recommended)
- No external dependencies — uses only standard Unix utilities (
date, wc, du, tail, grep, sed, basename, cat)
When to Use
- When you need to log and track design-related activities from the command line
- To maintain a searchable history of design decisions and iterations
- For batch recording of design tasks with timestamps
- When you want to export design logs in JSON, CSV, or TXT format
- As part of a larger design workflow automation pipeline
- To get quick statistics and summaries of past design activities
Examples
# Record a new run entry
design-tool run "updated homepage wireframe v3"
# View recent run entries (no args = show history)
design-tool run
# Check something and log it
design-tool check "color contrast passes WCAG AA"
# Analyze and record
design-tool analyze "user flow has 5 steps, target is 3"
# Preview and record
design-tool preview "mobile layout at 375px"
# Compare designs
design-tool compare "v2 vs v3 header layout"
# Search across all logs
design-tool search "wireframe"
# View summary statistics
design-tool stats
# Show recent activity across all commands
design-tool recent
# Show tool version
design-tool version
# Show full help
design-tool help
How It Works
Each command follows the same pattern:
- With arguments — Timestamps the input, appends it to the command-specific log file, prints confirmation, and logs to
history.log.
- Without arguments — Shows the last 20 entries from that command's log file.
The stats command iterates all .log files, counts entries per file, and reports totals plus disk usage. The search command performs case-insensitive grep across all log files. The recent command tails the last 20 lines of history.log.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---
2version: "1.0.0"
3name: penpot
4description: "Penpot: The open-source design tool for design and code collaboration design-tool, clojure, clojure, clojurescript, design, prototyping."
5metadata:
6 source: https://skillmd.com/skills/bytesagain/penpot
7---
8
9# Design Tool
10
11Design Tool v2.0.0 — a utility toolkit for logging, tracking, and managing design-related entries from the command line.
12
13## Commands
14
15All commands accept optional input arguments. Without arguments, they display recent entries from the corresponding log. With arguments, they record a new timestamped entry.
16
17| Command | Description |
18|---------|-------------|
19| `run <input>` | Record or view run entries |
20| `check <input>` | Record or view check entries |
21| `convert <input>` | Record or view convert entries |
22| `analyze <input>` | Record or view analyze entries |
23| `generate <input>` | Record or view generate entries |
24| `preview <input>` | Record or view preview entries |
25| `batch <input>` | Record or view batch entries |
26| `compare <input>` | Record or view compare entries |
27| `export <input>` | Record or view export entries |
28| `config <input>` | Record or view config entries |
29| `status <input>` | Record or view status entries |
30| `report <input>` | Record or view report entries |
31| `stats` | Show summary statistics across all log files |
32| `search <term>` | Search all log entries for a keyword (case-insensitive) |
33| `recent` | Display the 20 most recent history log entries |
34| `help` | Show usage information |
35| `version` | Print version (v2.0.0) |
36
37## Data Storage
38
39All data is stored locally in `~/.local/share/design-tool/`:
40
41- **Per-command logs** — Each command (run, check, convert, etc.) writes to its own `.log` file with pipe-delimited `timestamp|value` format.
42- **history.log** — A unified activity log recording every write operation with timestamps.
43- **Export formats** — The `export` utility function supports JSON, CSV, and TXT output, written to `~/.local/share/design-tool/export.<fmt>`.
44
45No external services, databases, or API keys are required. Everything is flat-file and human-readable.
46
47## Requirements
48
49- **Bash** (v4+ recommended)
50- No external dependencies — uses only standard Unix utilities (`date`, `wc`, `du`, `tail`, `grep`, `sed`, `basename`, `cat`)
51
52## When to Use
53
54- When you need to log and track design-related activities from the command line
55- To maintain a searchable history of design decisions and iterations
56- For batch recording of design tasks with timestamps
57- When you want to export design logs in JSON, CSV, or TXT format
58- As part of a larger design workflow automation pipeline
59- To get quick statistics and summaries of past design activities
60
61## Examples
62
63```bash
64# Record a new run entry
65design-tool run "updated homepage wireframe v3"
66
67# View recent run entries (no args = show history)
68design-tool run
69
70# Check something and log it
71design-tool check "color contrast passes WCAG AA"
72
73# Analyze and record
74design-tool analyze "user flow has 5 steps, target is 3"
75
76# Preview and record
77design-tool preview "mobile layout at 375px"
78
79# Compare designs
80design-tool compare "v2 vs v3 header layout"
81
82# Search across all logs
83design-tool search "wireframe"
84
85# View summary statistics
86design-tool stats
87
88# Show recent activity across all commands
89design-tool recent
90
91# Show tool version
92design-tool version
93
94# Show full help
95design-tool help
96```
97
98## How It Works
99
100Each command follows the same pattern:
1011. **With arguments** — Timestamps the input, appends it to the command-specific log file, prints confirmation, and logs to `history.log`.
1022. **Without arguments** — Shows the last 20 entries from that command's log file.
103
104The `stats` command iterates all `.log` files, counts entries per file, and reports totals plus disk usage. The `search` command performs case-insensitive grep across all log files. The `recent` command tails the last 20 lines of `history.log`.
105
106---
107
108Powered by BytesAgain | bytesagain.com | hello@bytesagain.com