Skip to content
cpatrickalvesPublic

About

This is where I document and evolve my AI-assisted development workflow.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Dev-OS

My personal development operating system — a curated repository of skills, sub-agents, workflows, output styles, hooks, and plugins that power my daily software development workflow with Claude Code.

This is where I document and evolve my AI-assisted development workflow.


What's Inside

Skills

Skills live in skills/, grouped by activity. The categories exist only in this repo: import-skills.sh shows them as headers in its picker and installs every skill flat into .claude/skills/<name>/, because Claude Code only discovers skills one level deep.

Legend: /name = invoked only as a slash command (disable-model-invocation: true, the former commands/); global = always installed into ~/.claude/skills/.

claude-code/ — sessions and skill maintenance

Skill Description
/end-session global Generate a session log with summary, changes, and next steps
/handover Save a structured context dump to continue in a fresh session
/logbook global Update the daily PT-BR work logbook at .claude/logbook.md
napkin-runbook global Read and curate the repo's runbook of reusable rules (.claude/napkin.md)
/skill-audit Audit a skill to test, benchmark, optimize, or remove it
/skill-optimize-description Optimize a skill's description to improve triggering accuracy

engineering/agents/ — AI agents and prompts

Skill Description
/ai-agent-security-analysis Audit an AI agent's security posture, MCP governance, and guardrails
/prompt-optimizer Rightsize prompts, CLAUDE.md, SKILL.md, and tool descriptions

engineering/architecture/ — design quality

Skill Description
coupling-analysis Analyze module coupling by strength, distance, and volatility
solid-checker Analyze and fix SOLID principle violations

engineering/build/ — building features

Skill Description
/create-update-makefile Create or update a self-documenting Makefile
/setup-automated-checks Set up or audit deterministic checks (lint, types, tests, hooks, CI) and the review files (CODING_STANDARDS.md, AGENTS.md pointers) for Python and TypeScript projects
frontend-design Create distinctive, production-grade frontend interfaces
playwright-expert Write and debug Playwright E2E tests
python-async-postgres Set up async PostgreSQL with SQLAlchemy and test fixtures
python-cashews-cache Add caching with cashews and a diskcache backend
python-fastapi-api-key-auth Add X-API-Key header authentication to FastAPI apps
python-fastapi-projects Create production-ready FastAPI projects with async SQLAlchemy
tlc-plan-view global Turn a tlc-plan plan.md into one review page: literals untouched, plain-language explanations, diagrams and a copy-feedback button

engineering/code-review/ — reviewing code and PRs

Skill Description
/pr-review-to-subtasks global Create work-item subtasks from a review file
pr-description global Write a PR title and description
matt-code-review global Review a diff on two axes, the repo's standards and the spec (Matt Pocock's code-review, renamed)

engineering/documentation/ — docs, specs, and changelogs

Skill Description
/create-simple-feature-prd Create a single-feature PRD through clarifying questions
/create-update-changelog Create or update CHANGELOG.md and tag the release
create-update-readme Create or update the project README.md (PT-BR)
create-update-user-manual global Create or update a product's user manual: chapters by user journey, regenerable screenshots, link and image checks
docs-generator global Generate or update a standardized docs/ folder
user-story-spec-writer Turn vague user stories into specs ready for AI coding agents

engineering/git/

Skill Description
/create-commit-message Create a commit message from the current diff
/post-merge-cleanup After a merge, delete merged branches and their worktrees, then link the PR on the issue and mark it done

engineering/integrations/ — platform CLIs

Skill Description
azure-devops-cli global Manage Azure DevOps resources via the az devops CLI
planecli global Manage Plane.so work items, cycles, and modules via planecli

learning/

Skill Description
/explainer-graphic Create visual infographics using real-world analogies
knowledge-distiller Distill transcripts, articles, or notes into a PT-BR knowledge document
/talk-digest Turn an automatic talk transcript into a short, critical PT-BR record for later reference
/show-me global Explain the current topic visually with diagrams, code-shape sketches, and HTML

productivity/ — writing, diagrams, and everyday tools

Skill Description
cognicode-sow Generate a Cognicode project scope document (SOW)
competitors-analysis Evidence-based competitor analysis from actual cloned code
copywriting Write and improve marketing copy for web pages
grill-with-ui global Run a grilling interview on a local browser page, one card per question (on a remote machine)
improve-tech-writing Apply clear technical writing patterns in PT-BR
macos-cleaner Analyze and reclaim macOS disk space
/mermaid-diagram-generator Generate interactive HTML diagrams with Mermaid.js
sop-creator Create runbooks, playbooks, and technical documentation
unslop global Cut AI tells from writing and restore human voice
workflow-visualizer Map a system or workflow as an interactive HTML diagram

External plugins and skills

Third-party assets that are installed, not copied, are declared in two YAML catalogs at the repo root. To add one, add an entry to the YAML; the scripts build the install and update commands from its fields.

Plugins — external-plugins.yaml, installed with scripts/install-plugins.sh.

Plugin Marketplace Scope Description
github official user GitHub plugin
claude-md-management official user CLAUDE.md management
claude-code-setup official user Claude Code setup helper
thermos dev-os (this repo, plugins/) user Thermo-nuclear branch review
andrej-karpathy-skills multica-ai/andrej-karpathy-skills user Andrej Karpathy guideline skills
pyright-lsp official project Python type checking
typescript-lsp official project TypeScript type checking
frontend-slides zarazhangrui/frontend-slides project Frontend slides

Mods — external-mods.yaml, installed and uninstalled with scripts/manage-mods.sh install|uninstall. A mod is a plugin built from function hooks that changes the Claude Code UI (panes, bands, status lines). Uninstall leaves the marketplace registered. A mod with marketplace: builtin ships with Claude Code and is enabled/disabled instead.

Mod Marketplace Scope Description
cc-plugin-you-should-know builtin (ships with Claude Code) user Side agent that surfaces things worth knowing above the prompt
reflect-mod BayramAnnakov/claude-reflect user Checks short prompts for corrections and saves rules from a band above the prompt
skins hellosverre/claude-skins user Transcript skins with tool row icons, diff, table and Mermaid cards, a usage band and themes. Its skins and settings are versioned in configs/claude-skins
brain-dump Dev-OS (plugins/brain-dump), from Ben AI user Shapes a long, loose prompt into a four-part brief
helper-desk Dev-OS (plugins/helper-desk), from Ben AI user Task progress bar above the prompt and live subagent cards
chat-inventory Dev-OS (plugins/chat-inventory), from Ben AI user Side pane with the to-do list, connectors, context files and skills this chat used
quiet-edits Dev-OS (plugins/quiet-edits) user Folds the diff under Edit, MultiEdit and Write rows and the output under Bash and PowerShell rows in the terminal while the row is closed; the skins row's ▸ opens it. Needs skins, and does nothing while skins is off
usage-meter Dev-OS (plugins/usage-meter), fork of hamzafer/claude-code-mods user The model and its effort, the context window's fill, the plan's 5-hour usage and its reset countdown as a row of flat, tinted pills under the prompt (Model: Opus 5.5 (medium), Ctx Used: 7.0%, Session: 50.0%, Reset: 19m). Each pill's text takes a Tokyo Night color of the nightgrid theme, over that color at 25% on the theme's background; the session pill turns amber at 75% and red at 90%; the 7-day window shows only once it runs high. The effort is the level of the main loop's last model request, so it shows from the first message and follows /effort at the next one. caps: round in the mod's options adds powerline pill ends (they need a Nerd Font), and position: above moves the row to the band over the prompt
next-steps Dev-OS (plugins/next-steps), from hamzafer/claude-code-mods user After each turn, 2 or 3 likely next prompts above the prompt; 1, 2 or 3 in an empty prompt drafts one, 0 dismisses. Upstream's 0.3.0 without its band order file (bands.ts), which Claude Code 2.1.323 made useless

Skill packages — external-skills.yaml, installed with scripts/install-external-skills.sh through npx skills add.

Package Source Scope Description
langchain-skills langchain-ai/langchain-skills project LangChain, LangGraph and Deep Agents skills
shadcn-ui shadcn/ui project shadcn/ui skills
tlc-skills tech-leads-club/agent-skills global Tech Leads Club skills: tlc-plan, tlc-implement, tlc-discover, technical-design-doc-creator, security-threat-model, the-fool, the-judge, demo
mattpocock-skills mattpocock/skills global Matt Pocock skills: domain-modeling, diagnosing-bugs, codebase-design, setup-ts-deep-modules, wayfinder, setup-matt-pocock-skills, retro, grill-me, grilling, grill-with-docs, handoff, writing-for-agents
tlc-playwright tech-leads-club/agent-skills project Tech Leads Club skill: playwright-skill (browser automation and testing)

Third-party skills copied into skills/ (such as unslop, show-me and grill-with-ui) record their upstream in frontmatter: metadata.source (a GitHub tree/<ref>/<dir> URL of the skill directory, or a gist URL with a #file-<name> anchor), metadata.last_synced (the date of the last copy from upstream, which is what marks a skill as third-party) and metadata.local_changes (what was adapted locally, or "None."). Own skills that are only inspired by external material cite it in metadata.reference instead.

scripts/sync-third-party-skills.sh lists them with the upstream changes since last_synced, and shows the upstream diff for the skills you pick. With --apply it merges those changes into the local copy (a three-way merge per file, so local adaptations survive; conflicts are left as markers) and bumps last_synced. It needs an authenticated gh and never commits.

Agents

Sub-agents in agents/, imported per project with scripts/import-agents.sh.

Agent Description
framework-docs-researcher Gather official docs, version constraints, and best practices for a dependency

Workflows

Multi-agent workflow scripts in workflows/, installed globally into ~/.claude/workflows/ with scripts/import-workflows.sh.

Workflow Description
dev-flow Implement a markdown plan, open a PR, review it with the code-review-flow reviewers, apply the fixes, and audit the docs
code-review-flow Review an existing PR with several reviewers in parallel (REVIEWERS in the script) and produce a verified final report; every reviewer reads the PR's issue and its comments (tracker detected per project), the related issues, the repository's coding standards, the CI result on the head and, when given, the feature plan, from one shared worktree at the head; works with GitHub, GitLab and Azure DevOps
tlc-dev-flow Implement an approved tlc-plan plan with tlc-implement, have a fresh Verifier stage judge it, open a PR, review it with code-review-flow and the plan, apply the fixes with tlc-implement, re-verify the checks those fixes added, and audit the docs

Each script carries version: 'X.Y.Z' in its meta, raised by every commit that changes it (scripts/check.sh enforces it).

dev-flow and tlc-dev-flow run code-review-flow as a sub-workflow (workflow()), so the review logic lives in one script. Nesting goes one level deep, so code-review-flow cannot call another workflow.

All of them rely on the thermos plugin, the matt-code-review skill (import it with import-skills.sh) and the the-judge skill (tlc-skills in external-skills.yaml).

Output Styles

Output styles in output-styles/, installed globally with scripts/import-output-styles.sh.

Style Description
ELI5 Keep explanations simple
Escrita Técnica Clara Direct PT-BR technical writing, without anglicisms or filler

Hooks

hooks/log-skill.sh logs every Skill invocation (timestamp, skill, args) to the project's .claude/skill-usage.log. Run scripts/setup-skill-hook.sh once per machine to copy it into ~/.claude/hooks/ and register it as a PreToolUse hook. Requires jq.

Configs

configs/ versions the settings of tools Dev-OS installs but does not own, so every machine can look the same. configs/claude-skins/ holds the skins made for the skins mod (nightgrid, which matches the herdr/nightgrid layout's theme) and the mod's settings. The mod has no export or import, so scripts/import-skins.sh merges them into the mod's store file; see configs/README.md. Requires node.

Project Structure

dev-os/
├── skills/                # Reusable skills, grouped by category
│   ├── claude-code/       #   Session and skill maintenance
│   ├── engineering/       #   build, code-review, documentation, git, ...
│   ├── learning/          #   Knowledge distillation and explainers
│   └── productivity/      #   Writing, diagrams, ops, misc
├── agents/                # Sub-agent definitions
├── hooks/                 # Hook scripts (single source of truth)
├── workflows/             # Multi-agent workflow scripts
├── output-styles/         # Output styles
├── configs/               # Settings of installed tools (skins mod), see configs/README.md
├── plugins/               # Dev-OS's own plugin marketplace (thermos and the mods), see plugins/README.md
├── scripts/               # Import/install helper scripts + check.sh
├── .githooks/             # pre-commit: runs scripts/check.sh
├── docs/                  # Reference notes (LangGraph practices)
├── external-plugins.yaml  # External plugins to install
├── external-mods.yaml     # Claude Code mods to install or uninstall
├── external-skills.yaml   # External skill packages to install
├── CONTEXT.md             # Domain glossary
├── .claude-plugin/        # marketplace.json: lists plugins/ as the dev-os marketplace
└── .claude/               # Local session state (gitignored)

How I Use This

This repo is my single source of truth for development configurations. I clone it and import the skills, agents, and other assets into each project with the scripts in scripts/. When I learn a new pattern or refine a workflow, I update it here so every future session benefits.

The skills cover the full stack I work with daily — from FastAPI backends and React frontends to project management, documentation, and code quality. The slash-only skills automate repetitive tasks like writing PRDs, changelogs, and PR summaries.


Getting Started

  1. Clone the repo into ~/dev-os
  2. From any project (including Dev-OS itself), run the import scripts to install assets: ~/dev-os/scripts/import-skills.sh, import-agents.sh (per-project), import-workflows.sh, import-output-styles.sh (global, into ~/.claude/). import-skills.sh lists the skills grouped by category in an interactive picker (--all skips it) and flattens the categorized skills/ tree into .claude/skills/<name>/, since Claude Code only discovers skills one level deep. The skills listed in GLOBAL_SKILLS (e.g. /end-session) always go to ~/.claude/skills/ so every project sees them.
  3. Install external plugins and skill packages with ~/dev-os/scripts/install-plugins.sh and install-external-skills.sh (picker; --all skips it). Both update entries already installed, so rerun them to refresh. Mods go through ~/dev-os/scripts/manage-mods.sh install (or uninstall). With the skins mod installed and Claude Code opened once, ~/dev-os/scripts/import-skins.sh gives it the skins and settings versioned in configs/claude-skins.
  4. Once per machine, run ~/dev-os/scripts/setup-skill-hook.sh to log skill usage, ~/dev-os/herdr/setup-hccr.sh on machines with herdr-core to get hccr, and, inside ~/dev-os, git config core.hooksPath .githooks so every commit runs scripts/check.sh (catalogs, workflow syntax, configs/, skill and workflow versions and the version bump of each skill and workflow the commit touches, bash -n, and the validate, tests and types of the mods the commit touches; see plugins/README.md). Requires node and claude.
  5. Open the project with Claude Code
  6. To bring a machine up to date after git pull, run ~/dev-os/scripts/update-all.sh (--dry-run to only see the report). It finds what is already installed: the curated skills and agents in ~/.claude and in every project Claude Code knows (~/.claude.json, plus --project DIR), the global workflows, output styles and skill hook, the installed plugins and mods of the catalogs, the npx skills packages and the skins. It updates only what differs from the clone and installs nothing new. --files-only updates only the copied files and skins, skipping plugins, mods and packages.
  7. Use /create-simple-feature-prd to write a feature PRD, /pr-description to write a PR description, or any other skill

About

This is where I document and evolve my AI-assisted development workflow.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages