Supercharging Your Workflow with Claude Code: Commands, Hooks, Subagents & Beyond
Lover of coding, software development/engineering, indie hackers podcast/community, start-ups, music, guitar, technology, fitness, running, biking, learning new things, travel, the beach, and hiking/mountains.
As a kid I had too many interests. I grew up playing soccer from an early age and played through college! Sports and being a part of a team was always part of my DNA. Not only did I value sports and competition but I loved music, art, drawing, animation, film, computers, math, and learning.
Once I hit college, the decision to choose my life path was paralyzing, and ultimately led me down many different paths. I explored economics, finance, psychology, philosophy, statistics, communications, and marketing. I graduated with a finance degree and thought the data science, statistics, and the trends and patterns would be a fun career, however my first entry level job in the industry discouraged me to continue in the industry and to explore other paths.
I always had an itch to build and start something on my own or with family. Growing up I started a lawn mowing business, shoveling business, lemonade stands, and small Wordpress websites. I loved the creativity of coming up with ideas on how to help people and make money at the same time.
I realized I loved technology, and seeing what could be created and started with technology really urged me to start down the path of learning how to code. My brother and I had an idea for a college social network (similar to Facebook), geared solely towards education and only for students at your college. We wanted to give students the ability to meet people on campus, finding work, organize course material, share notes and materials, find extracurricular activities, sell textbooks and furniture. I took it upon myself to learn how to build something like that. Basically taking an idea and making it happen. I learned about software development, coding languages, web frameworks, startups, marketing all on my own.
I took online free courses, watched videos and tutorials about Django, Python, Javascript, HTML, and databases. I absolutely loved everything about the process. Seeing my work come to life and seeing people use what I created. It satisfied everything that I enjoyed growing up. The creativity, the design, artwork, coming up with a business, learning new things at my own pace, however I learned best, and working with my brother. I did all this while working full-time at a financial institution during my nights and weekends.
We finally launched StudentGrounds, however after a year and 200 user signups later it slowly died down. This experience of taking an idea and learning everything needed to make it a reality basically propelled my interest in learning how to code and do that full time. I learned all about computer science, taking a certificate course at night at a local university. I started another project idea on the side for an event management application for my father's youth soccer tournament, and started applying to every technology company I could think of. I ultimately got my first software engineer job at a small start up in Boston as an apprentice/intern and learned on the job before getting my first full-time software engineer position at a large Boston e-commerce company. My goal there was to learn as much as I could from season professionals, and learning how the corporate world works in terms of software development.
My ultimate goal is to create something on my own doing something I love, as well as enjoy life, and give back to others through education.
Right now I am a full-time Software Engineer with 6 years in the marketing tech space, trying to finish a SaaS boilerplate so that I can spin up any web application for any idea at the click of a button, which will then set me up for my next idea, IdeaVerify, an automated way to verify/validate you're SaaS application idea before actually starting to code and wasting many hours and years developing something that no one would use.
This blog is about my journey navigating the software engineering world, without a CS degree, building in public, keeping record of what I learned, sharing my learnings and at the same time giving back to others, teaching them how to code and giving helpful hints and insights. I am also using this blog to showcase other sides of me such as art, music, writing, creative endeavors, opinions, tutorials, travel, things I recently learned and anything else that interests me. Hope you enjoy!
🎙️ Podcast Insights
This article is inspired by Arvid Kahl and James Phoenix’s conversation on Claude Code.
👉 Listen to the full episode here: Spotify Link.
They discussed how Claude can move beyond being “just a prompt assistant” into acting as a junior engineer that plans, executes, and self-checks work—a theme you’ll see woven throughout the sections below.
In a recent podcast episode, the hosts dove deep into how Claude Code is changing the way developers orchestrate their projects. It wasn’t just about prompts—it was about building self-regulating workflows that layer Claude into your repo, your CI, and even your nightly jobs.
Here’s a breakdown that combines those podcast insights with examples from Claude’s official docs.
1. Claude Commands: One-Offs and Scheduled Work
Commands don’t always have to be ad-hoc. You can treat Claude like a cron job. Run it once a week, every night, or even on every push.
Weekly one-off: Ask Claude to refresh your
docs.mdwith the latest code updates.Hourly role enforcement: Have Claude check that your AI agents are still “assuming” their roles, overriding system prompts if needed.
Nightly routines: Pick up a Linear ticket at 2 AM, plan implementation, run tests, verify results, and tee things up for the morning.
Example GitHub Action:
on:
schedule:
- cron: "0 0 * * *" # every night
jobs:
nightly-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update Docs
uses: ./.github/actions/claude-pr-action
with:
trigger_phrase: "update docs"
timeout_minutes: "30"
2. Claude Code Hooks: Building Self-Correcting Loops
One highlight from the podcast: don’t just tell Claude to do something—make it self-check along the way.
Run type checks.
List errors.
Encourage self-evaluation between steps.
Force it into loops where it must fix errors before moving forward.
Hook Example (auto-format TypeScript after edits):
"PostToolUse": [{
"matcher": "Edit|Write",
"hooks": [{
"type": "command",
"command": "jq -r '.tool_input.file_path' | { read f; if echo \"$f\" | grep -q '\\.ts$'; then npx prettier --write \"$f\"; fi; }"
}]
}]
This ensures Claude doesn’t just “think” the code looks right—it is right.
(Docs reference)
3. Rules with Claude.md
Another key insight: codify rules so Claude has a playbook.
Put broad rules in the root
Claude.md.Keep localized rules in the folder they belong to (like
frontend/Claude.md).
4. Smarter Testing Strategies
Instead of running all tests every time:
Only run tests relevant to the changed files.
Use layers:
Unit tests for small functions.
Integration tests for multiple modules.
Playwright tests for the front end (slower, but realistic).
Claude can orchestrate this testing hierarchy, picking the right scope based on what’s changed.
5. Git Work Trees & Parallelization
The podcast covered using Git work trees and Supabase factory functions to parallelize testing.
Run tests in parallel across work trees.
Let Claude coordinate those runs automatically.
This is where automation starts looking like an in-house CI/CD engineer.
6. Supervisor & Subagents
A powerful pattern: treat Claude as a supervisor layer with subagents underneath.
Supervisor: Orchestrates. Asks “have you really finished?” before marking a task done.
Subagents: Each has a role (e.g., Python dev, frontend engineer, tester). Keep their
Claude.mdconfigs under 150 lines for clarity.
Example Subagent (Python Developer):
---
name: python-dev
description: Write and debug Python code
tools: Read, Write, Bash, PipInstall
---
Act as a Python developer. Write clean, tested, maintainable code.
Then in root Claude.md, define the order:
subagents:
- python-dev
- tester
- code-reviewer
7. Vibe, CLI & Knowledge Management
Beyond code, Claude can manage the “vibe” of your project:
Markdown → Claude constraints (enforce style guides, tone).
CLI commands for instant prompts (
/optimize,/fix-tests).Nightly ticket pickups: Claude can auto-assign itself a ticket, work overnight, and hand off results.
8. Putting It All Together
Here’s what a Claude-powered dev loop can look like:
Nightly Claude Command runs: plan, code, test, verify.
Hooks enforce rules and auto-fixes.
Subagents take specialized roles.
Supervisor layer orchestrates.
Tests only run where needed, parallelized.
Rules in Claude.md keep behavior consistent.
CLI + Slash Commands make on-demand interactions fast.
Final Thoughts
The big takeaway from the podcast: Claude isn’t just a co-pilot. With commands, hooks, rules, and subagents, it can become a self-managing junior engineer that runs on a schedule, double-checks its own work, and collaborates with your team.
Think of it as moving from “AI that answers” → “AI that executes.”






