PR Design Doc
OpenHands/OpenHands
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
Design new features for OpenUsage with structured design docs and implementation tasks.
$ npx skills add janekbaraniewski/openusage --skill design-feature -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install janekbaraniewski/openusage design-feature --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/janekbaraniewski/openusage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/skills/design-feature .claude/skills/design-feature && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "design-feature" agent skill from https://github.com/janekbaraniewski/openusage/tree/main/docs/skills/design-feature into .claude/skills/design-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-feature", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/janekbaraniewski/openusage/tree/main/docs/skills/design-featureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add janekbaraniewski/openusage --skill design-feature -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install janekbaraniewski/openusage design-feature --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/janekbaraniewski/openusage.git skills-src && mkdir -p .agents/skills && cp -r skills-src/docs/skills/design-feature .agents/skills/design-feature && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "design-feature" agent skill from https://github.com/janekbaraniewski/openusage/tree/main/docs/skills/design-feature into .agents/skills/design-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-feature", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add janekbaraniewski/openusage --skill design-feature -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install janekbaraniewski/openusage design-feature --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/janekbaraniewski/openusage.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/docs/skills/design-feature .cursor/skills/design-feature && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "design-feature" agent skill from https://github.com/janekbaraniewski/openusage/tree/main/docs/skills/design-feature into .cursor/skills/design-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-feature", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/janekbaraniewski/openusage.git --path docs/skills/design-feature--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add janekbaraniewski/openusage --skill design-feature -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install janekbaraniewski/openusage design-feature --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/janekbaraniewski/openusage.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/docs/skills/design-feature .gemini/skills/design-feature && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "design-feature" agent skill from https://github.com/janekbaraniewski/openusage/tree/main/docs/skills/design-feature into .gemini/skills/design-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-feature", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install janekbaraniewski/openusage design-featureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add janekbaraniewski/openusage --skill design-feature -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/janekbaraniewski/openusage.git skills-src && mkdir -p .github/skills && cp -r skills-src/docs/skills/design-feature .github/skills/design-feature && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "design-feature" agent skill from https://github.com/janekbaraniewski/openusage/tree/main/docs/skills/design-feature into .github/skills/design-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-feature", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add janekbaraniewski/openusage --skill design-feature -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install janekbaraniewski/openusage design-feature --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/janekbaraniewski/openusage.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/docs/skills/design-feature .opencode/skills/design-feature && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "design-feature" agent skill from https://github.com/janekbaraniewski/openusage/tree/main/docs/skills/design-feature into .opencode/skills/design-feature/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-feature", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
design-featureDesign new features for OpenUsage with structured design docs and implementation tasks.
Design Feature is an agent skill from janekbaraniewski/openusage. Design new features for OpenUsage with structured design docs and implementation tasks. Triggers for any change touching 3+ subsystems, or when explicitly invoked.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/design-template.md` and `references/subsystem-map.md`).
It sits in Development, covering Architecture decision records. It works with OpenRouter. The repository describes itself as: The one dashboard you’ve been looking for — track spend and usage across Claude, Cursor, OpenRouter, Copilot, Gemini, Codex, and more. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 084bff5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Design Feature loads about 1.4k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 45 tokens; SKILL.md has 675 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from janekbaraniewski/openusage at commit 084bff5, republished under its MIT licence (© janekbaraniewski). 675 words, ~1,446 tokens.
.claude/skills/design-feature/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Invocation: When a user asks to design, plan, or architect a feature — OR when a proposed change touches 3+ subsystems (core, providers, TUI, config, detect, daemon, telemetry).
Before any design work, gather answers to ALL of these. Research the codebase yourself if the user doesn't know.
docs/*.md for related designs. If overlap exists, ask the user whether to extend or create new.UsageProvider, UsageSnapshot, AccountConfig, config JSON schema)Read these before designing. Skip only if already in context:
internal/core/types.go, internal/core/provider_spec.go, internal/core/widget.godocs/.internal/config/config.go + configs/example_settings.jsonAfter reading, summarize findings that affect the design. Don't just list files — state what you learned.
Write the design doc to docs/<FEATURE_NAME>_DESIGN.md. Use the template in references/design-template.md.
map[string]Metric, map[string]string) — follow that.settings.json. Sensible defaults, no mandatory config.core/ or subsystem packages, rendering in tui/.fmt.Errorf("provider: action: %w", err)).After the design doc is written, break it into implementation tasks. Each task should be:
Format each task as:
### Task N: <title>
Files: <list of files to create or modify>
Depends on: <task numbers or "none">
Description: <what to do, 2-4 sentences>
Tests: <what tests to write>After all tasks, add a dependency summary showing which tasks can run in parallel:
### Dependency Graph
- Task 1, 2: sequential (foundational types and config)
- Tasks 3, 4, 5: parallel group (all depend on 1-2, independent of each other)
- Task 6: depends on 3, 4
- Task 7: depends on all (integration verification)This helps the implementer (/implement-feature) launch parallel agents for independent tasks, significantly reducing implementation time.
server.go, consider whether they can be merged or ordered to avoid merge conflicts during parallel execution.Append tasks to the design doc under a ## Implementation Tasks section.
Before finishing:
docs/<NAME>_DESIGN.md© janekbaraniewski, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in docs/skills/design-feature of janekbaraniewski/openusage.
Open the folder on GitHubat commit 084bff5
Design Feature next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Design Feature this skilljanekbaraniewski/openusage | 221 | — | ~1.4k | Automated safety check: Pass | MIT | |
| PR Design DocOpenHands/OpenHands | 91k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Cto AdvisorIbrahim-3d/orchestrator-supaconductor | 381 | 4 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Domain Modelingbrim-borium/spotify_sdk | 166 | 7 repos | ~806 | Automated safety check: Pass | Apache-2.0 | |
| Architecture DecisionDonchitos/Claude-Code-Game-Studios | 26k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Improve Codebase Architectureywwynm/EverythingDone | 144 | 15 repos | ~1.3k | Automated safety check: Pass | GPL-3.0 |
OpenHands/OpenHands
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
Ibrahim-3d/orchestrator-supaconductor
Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.
brim-borium/spotify_sdk
Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.
Donchitos/Claude-Code-Game-Studios
Create an ADR documenting a technical decision: context, alternatives considered, consequences.
ywwynm/EverythingDone
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.
SpillwaveSolutions/design-doc-mermaid
Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.
janekbaraniewski/openusage
Implement a feature from an existing design doc. An agent skill from janekbaraniewski/openusage.
janekbaraniewski/openusage
Review a design doc against the actual codebase, find inconsistencies, and quiz the user on needed fixes.
janekbaraniewski/openusage
Add new AI usage providers to the OpenUsage TUI dashboard. An agent skill from janekbaraniewski/openusage.
Works with
Categories
Design new features for OpenUsage with structured design docs and implementation tasks. Design Feature is an agent skill from janekbaraniewski/openusage. Design new features for OpenUsage with structured design docs and implementation tasks.
Design Feature fits situations like: any change touching 3+ subsystems; explicitly invoked.
Run `npx skills add janekbaraniewski/openusage --skill design-feature -a claude-code`. Or copy the skill folder (docs/skills/design-feature in janekbaraniewski/openusage) into .claude/skills/design-feature in your project. Claude Code loads it when a task matches its description.
Run `npx skills add janekbaraniewski/openusage --skill design-feature -a codex`. Or copy the skill folder (docs/skills/design-feature in janekbaraniewski/openusage) into .agents/skills/design-feature in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add janekbaraniewski/openusage --skill design-feature -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-feature, .gemini/skills/design-feature, .github/skills/design-feature and .opencode/skills/design-feature in your project.
SKILL.md names no scripts, command-line tools or credentials: Design Feature is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Design Feature is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Design Feature: PR Design Doc (OpenHands/OpenHands, 91k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 381 stars), Domain Modeling (brim-borium/spotify_sdk, 166 stars) and Architecture Decision (Donchitos/Claude-Code-Game-Studios, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
janekbaraniewski (a GitHub user) maintains it in janekbaraniewski/openusage, which has 221 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 10, 2026.
Source: janekbaraniewski/openusage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.