<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rocky</title>
    <description>The latest articles on DEV Community by Rocky (@rockyyy).</description>
    <link>https://dev.to/rockyyy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4026445%2F94b46dbb-5b45-421a-be13-61cb9779ec88.jpg</url>
      <title>DEV Community: Rocky</title>
      <link>https://dev.to/rockyyy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rockyyy"/>
    <language>en</language>
    <item>
      <title>I Wrote the Red Team Books I Wish Existed When I Was Starting Out</title>
      <dc:creator>Rocky</dc:creator>
      <pubDate>Tue, 21 Jul 2026 11:37:13 +0000</pubDate>
      <link>https://dev.to/rockyyy/i-wrote-the-red-team-books-i-wish-existed-when-i-was-starting-out-4k2m</link>
      <guid>https://dev.to/rockyyy/i-wrote-the-red-team-books-i-wish-existed-when-i-was-starting-out-4k2m</guid>
      <description>&lt;p&gt;A few years ago I was exactly where a lot of you probably are right now: staring at a wall of penetration testing courses, half-finished Active Directory labs, and a YouTube playlist that promised to make me a "hacker" in 30 days. Most of it was theory. Some of it was outdated. Almost none of it explained &lt;em&gt;why&lt;/em&gt; an attack worked, or how a defender would actually catch it.&lt;/p&gt;

&lt;p&gt;So when I sat down to build out the Codelivly Offensive Security Series, I had one rule: no fluff. Every chapter had to earn its place by teaching something you could actually do in a lab, this week, and understand well enough to explain to someone else.&lt;/p&gt;

&lt;p&gt;That series is now two books — &lt;strong&gt;Red Team Operator L1&lt;/strong&gt; and &lt;strong&gt;Red Team Operator L2&lt;/strong&gt; — and I want to walk you through what's actually inside them, because I think they solve a real problem in how offensive security is taught.&lt;/p&gt;

&lt;h3&gt;
  
  
  The problem with most red team content
&lt;/h3&gt;

&lt;p&gt;Cybersecurity education has a split personality. On one side you've got theory-heavy books that explain what Kerberoasting &lt;em&gt;is&lt;/em&gt; without ever putting you in a domain where you can try it. On the other, you've got scattered tool tutorials and one-off write-ups that teach you to run a command without teaching you why it worked or how it maps to a real engagement.&lt;/p&gt;

&lt;p&gt;Neither builds the thing that actually gets people hired or promoted: a mental model of how enterprise attacks unfold from initial access to detection.&lt;/p&gt;

&lt;h3&gt;
  
  
  Red Team Operator L1: the foundation
&lt;/h3&gt;

&lt;p&gt;L1 is built for the beginner who's serious about going pro — the SOC analyst who wants to cross over to offensive security, the student who's tired of tutorials that never go past "here's how Nmap works," the IT professional who wants to actually understand the attacks they're defending against.&lt;/p&gt;

&lt;p&gt;It walks through the full arc of a foundational red team skill set: building a home lab with Kali, Windows, and Active Directory, networking fundamentals, OSINT and reconnaissance, scanning with Nmap and RustScan, web app testing with Burp Suite, the OWASP Top 10 (SQLi, XSS, SSRF, XXE, and friends), password attacks, Windows and Linux privilege escalation, and a first real pass at Active Directory — Kerberoasting, AS-REP Roasting, BloodHound, PowerView.&lt;/p&gt;

&lt;p&gt;Every chapter follows the same shape: learning objectives, plain-English explanations, hands-on labs, real attack scenarios, command references, and — this part matters — detection and mitigation insights, so you're not just learning to break things, you're learning how a blue team would catch you doing it. Everything gets mapped back to MITRE ATT&amp;amp;CK, and the book closes the loop with how to write a professional pentest report, because half of red teaming is communicating what you found.&lt;/p&gt;

&lt;h3&gt;
  
  
  Red Team Operator L2: enterprise depth
&lt;/h3&gt;

&lt;p&gt;L2 picks up where L1 leaves off and goes after the stuff that actually separates a junior tester from an operator who can run a real engagement: multi-domain Active Directory, Kerberos internals, Resource-Based Constrained Delegation, AD Certificate Services attacks, Shadow Credentials, DPAPI and credential harvesting, Pass-the-Hash and Pass-the-Ticket, lateral movement, and network pivoting with tools like Ligolo-ng and Chisel.&lt;/p&gt;

&lt;p&gt;It also pushes into territory most beginner-to-intermediate material skips entirely: Microsoft Entra ID and Microsoft 365 security assessment, Docker and Kubernetes fundamentals, and operational security — how to plan and run an engagement without blowing your cover. The whole back half is built around Purple Team collaboration and detection engineering, because modern red teaming isn't a solo sport anymore; you're expected to work with the defenders, not just around them.&lt;/p&gt;

&lt;p&gt;Labs are built on Kali Linux, Windows Server, Active Directory, Ubuntu, Entra ID, M365, Docker, and Kubernetes — and you'll get hands-on with the actual tools operators use day to day: BloodHound CE, SharpHound, Certipy, NetExec, Impacket, Rubeus, Responder, Wireshark, and more.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who these are for
&lt;/h3&gt;

&lt;p&gt;If you're a cybersecurity student, an aspiring ethical hacker, a SOC analyst eyeing offensive security, or a working pentester who wants a structured way to level up into enterprise engagements — this series was built for that path, in that order. L1 gets you lab-ready and confident with the fundamentals. L2 takes you into the environments and techniques that professional red teams actually operate in.&lt;/p&gt;

&lt;p&gt;I built these because I wanted the resource I couldn't find when I was learning — something that respects your time, doesn't pad chapters with filler, and treats you like someone who's going to use this knowledge in the real world, not just pass a quiz.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Red Team Operator L1&lt;/strong&gt; → &lt;a href="https://resources.codelivly.com/product/red-team-operator-l1/" rel="noopener noreferrer"&gt;resources.codelivly.com/product/red-team-operator-l1&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Red Team Operator L2&lt;/strong&gt; → &lt;a href="https://resources.codelivly.com/product/red-team-operator-l2/" rel="noopener noreferrer"&gt;resources.codelivly.com/product/red-team-operator-l2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you read either one, I'd genuinely love to hear what you think — reach out on X &lt;a href="https://twitter.com/rocky_rowdy_" rel="noopener noreferrer"&gt;@rocky_rowdy_&lt;/a&gt; or drop a review on the store. This series is going to keep growing, and feedback from people actually doing the labs shapes what comes next.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>How I Cut My Claude Code Token Usage by 70% (and Got Better Output)</title>
      <dc:creator>Rocky</dc:creator>
      <pubDate>Sun, 19 Jul 2026 10:20:07 +0000</pubDate>
      <link>https://dev.to/rockyyy/how-i-cut-my-claude-code-token-usage-by-70-and-got-better-output-3ljo</link>
      <guid>https://dev.to/rockyyy/how-i-cut-my-claude-code-token-usage-by-70-and-got-better-output-3ljo</guid>
      <description>&lt;p&gt;A few months ago I was burning through my Claude Code usage before lunch. Every session felt the same: I'd describe a bug or a feature conversationally, Claude would go read half the codebase to figure out what I meant, guess at the fix, get it half right, and then I'd spend three more messages correcting course. More tokens, more time, worse code.&lt;/p&gt;

&lt;p&gt;I fixed it — and the fix had almost nothing to do with "prompting tricks." It came down to changing &lt;em&gt;when&lt;/em&gt; I write the prompt and &lt;em&gt;how much thinking I front-load into it&lt;/em&gt;, instead of leaving that thinking for Claude to do live, in the loop, on my token budget.&lt;/p&gt;

&lt;p&gt;Here's exactly what changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real problem wasn't Claude — it was conversational implementation
&lt;/h2&gt;

&lt;p&gt;When you talk to an agent conversationally ("hey can you fix the auth bug"), the agent has to do three expensive things before it writes a single line:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Figure out what you actually mean&lt;/li&gt;
&lt;li&gt;Explore the codebase to find the relevant files&lt;/li&gt;
&lt;li&gt;Guess at your constraints — what NOT to touch, what "done" looks like&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All three of those cost tokens, and all three happen &lt;em&gt;inside&lt;/em&gt; the paid session, often more than once, because the first guess is rarely right. Every round of "no, not that file" or "don't refactor the other function" is a full context reload.&lt;/p&gt;

&lt;p&gt;The fix is to stop letting the agent discover your intent live. Do that work once, up front, outside the session, and hand it over as a single structured spec.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I changed: master prompts instead of conversation
&lt;/h2&gt;

&lt;p&gt;Now, before I open Claude Code, I write what I've started calling a &lt;strong&gt;master prompt&lt;/strong&gt;. It's a plain-text spec I write myself (sometimes with Claude's help in a separate, cheap planning pass), and it always has the same shape:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Role / Context&lt;/strong&gt;&lt;br&gt;
A tight paragraph telling the agent what kind of engineer it's acting as and what the codebase actually is — not a generic "you are a helpful assistant," but the specific stack, the specific constraints.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Do-Not-Touch list&lt;/strong&gt;&lt;br&gt;
This one alone probably accounts for a big chunk of the savings. Explicitly listing files, patterns, or areas that are off-limits stops the agent from "helpfully" wandering into adjacent code, re-reading it, and re-reasoning about whether to change it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Phase 0: Discovery&lt;/strong&gt;&lt;br&gt;
Instead of letting the agent explore ad hoc, I give it exact &lt;code&gt;grep&lt;/code&gt;/&lt;code&gt;bash&lt;/code&gt; commands to run first, targeted at exactly the files that matter. Discovery still happens — it just happens efficiently, against a map I already know is correct, instead of a blind crawl.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Numbered issues with before/after expectations&lt;/strong&gt;&lt;br&gt;
Each task is a numbered item with a concrete before-state and after-state. No ambiguity to resolve mid-session, no "wait, what did you mean by fix this."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Acceptance criteria&lt;/strong&gt;&lt;br&gt;
A checklist the agent verifies itself against before declaring done — including real browser verification where relevant, not just "the code compiles so it must be right."&lt;/p&gt;

&lt;p&gt;I paste this whole thing in as one message, as plain text (never as a markdown file the agent has to open and re-read) — Claude Code, or Cursor, executes in agent mode against it in one continuous run.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rules I enforce on every single prompt
&lt;/h2&gt;

&lt;p&gt;Three habits, repeated on every task, are doing most of the heavy lifting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Discovery before code.&lt;/strong&gt; The agent maps the actual codebase against my Phase 0 commands before writing anything, so it isn't hallucinating structure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real verification, not assumed verification.&lt;/strong&gt; If it's a UI change, it checks in an actual browser. If it's an API, it hits the actual endpoint. Assumed success is where silent rework and follow-up sessions come from.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One commit per concern.&lt;/strong&gt; Bundling five fixes into one giant diff means the agent has to hold five contexts in its head simultaneously, and so do I when reviewing. Splitting it forces smaller, self-contained context windows per unit of work.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why this actually cuts tokens (not just "feels tidier")
&lt;/h2&gt;

&lt;p&gt;The token savings aren't from writing less — the master prompt is often &lt;em&gt;longer&lt;/em&gt; than my old one-line asks. They're from writing it &lt;strong&gt;once&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No exploratory back-and-forth burning turns on "what did you mean"&lt;/li&gt;
&lt;li&gt;No wandering into files outside scope, reading them, then discarding that context&lt;/li&gt;
&lt;li&gt;No re-explaining constraints three messages in because the agent drifted&lt;/li&gt;
&lt;li&gt;No redoing work because "done" was never actually defined&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every one of those failure modes multiplies your context size every single time it happens, because the whole conversation history rides along with each new turn. A tight, unambiguous prompt is a &lt;em&gt;shorter total conversation&lt;/em&gt;, even though the first message is bigger. That's where the 70% came from in my own usage — it wasn't one trick, it was removing the entire class of clarification loops that conversational prompting invites.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this looks like in practice
&lt;/h2&gt;

&lt;p&gt;If you want the actual templates — the exact Do-Not-Touch structure, the Phase 0 discovery commands I reuse across projects, the acceptance criteria checklist format, and the broader system I use for running Claude Code like a real engineering workflow instead of a chat window — I wrote all of it up in &lt;strong&gt;&lt;a href="https://resources.codelivly.com/product/the-claude-blueprint-master-ai-workflows-like-a-pro/" rel="noopener noreferrer"&gt;The Claude Blueprint: Master AI Workflows Like a Pro&lt;/a&gt;&lt;/strong&gt;. It's the workflow this whole post is describing, just with the actual prompt templates included so you don't have to reverse-engineer them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;If your Claude Code sessions feel expensive and unpredictable, the problem usually isn't the model — it's that you're asking it to think and discover live, on the clock, instead of handing it a spec you already thought through. Move the thinking earlier. Give it boundaries before it starts, not corrections after. The tokens you save aren't from saying less — they're from never having to say it twice.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
    </item>
    <item>
      <title>I Got Tired of Cybersecurity Being Taught Like a Second Language. So I Built a Translator.</title>
      <dc:creator>Rocky</dc:creator>
      <pubDate>Wed, 15 Jul 2026 18:25:41 +0000</pubDate>
      <link>https://dev.to/rockyyy/i-got-tired-of-cybersecurity-being-taught-like-a-second-language-so-i-built-a-translator-m01</link>
      <guid>https://dev.to/rockyyy/i-got-tired-of-cybersecurity-being-taught-like-a-second-language-so-i-built-a-translator-m01</guid>
      <description>&lt;p&gt;Every cybersecurity beginner hits the same wall.&lt;/p&gt;

&lt;p&gt;You open YouTube. There are 400 videos on "how to become a SOC Analyst." None of them agree on where to start. One says learn Python first. Another says skip straight to Splunk. A third assumes you already know what a SIEM is.&lt;/p&gt;

&lt;p&gt;You open a bootcamp page. $2,000. Fixed schedule. A syllabus that reads like it was written for someone who already has the job.&lt;/p&gt;

&lt;p&gt;You open a certification roadmap. It's a wall of acronyms — CompTIA, OSCP, CEH, SOC+ — with zero explanation of which ones actually get you hired versus which ones just get you broke.&lt;/p&gt;

&lt;p&gt;Nobody tells you the order things unlock in. Cybersecurity isn't taught like a skill tree. It's taught like a pile.&lt;/p&gt;

&lt;p&gt;I know this because I lived it. I'm a final-year cybersecurity student, and for two years I was the person drowning in that pile — bouncing between free tutorials, half-finished courses, and forum threads trying to reverse-engineer what a "learning path" was even supposed to look like.&lt;/p&gt;

&lt;p&gt;So I built the thing I wish existed.&lt;/p&gt;

&lt;p&gt;—&lt;/p&gt;

&lt;p&gt;Codelivly isn't a course library. It's closer to a skill tree for cybersecurity careers.&lt;/p&gt;

&lt;p&gt;Instead of "here are 200 videos, good luck," it's structured like this: pick a role — SOC Analyst, Junior Penetration Tester, more being added — and every module unlocks in the order you'd actually need it on the job. Networking before log analysis. Log analysis before SIEM tools. Linux before Burp Suite. No guessing which video to watch next at 2am.&lt;/p&gt;

&lt;p&gt;But sequencing alone doesn't stick. So there's a second layer: you don't just watch, you do. Real CTF-style labs running in Docker containers. Actual flags to capture, actual environments to break into, not screenshots of someone else doing it.&lt;/p&gt;

&lt;p&gt;And because motivation dies fast when progress feels invisible, I built in XP, streaks, ranks, and certificates that are tied to labs you've actually completed — not just a "100% watched" badge that means nothing to a hiring manager.&lt;/p&gt;

&lt;p&gt;—&lt;/p&gt;

&lt;p&gt;Here's the part that might actually interest you more than the product: I built all of it alone.&lt;/p&gt;

&lt;p&gt;No co-founder. No dev team. No designer. While attending college full-time.&lt;/p&gt;

&lt;p&gt;The UI, the auth system with 2FA, the Stripe and PayPal billing, the CTF lab infrastructure, the certificate pipeline — every line, every lesson, every module. Not because solo-building is some badge of honor, but because I couldn't afford to wait for a team to exist before I started fixing the problem I was stuck in myself.&lt;/p&gt;

&lt;p&gt;The hardest part wasn't the code. It was saying no. No to feature creep. No to "wouldn't it be cool if." Every yes went to one question: does this actually help someone get hired? If not, it didn't ship.&lt;/p&gt;

&lt;p&gt;—&lt;/p&gt;

&lt;p&gt;If you're a student, a career-switcher, or just someone stuck in tutorial hell right now — the first lesson of every path is free. No card, no catch. Try it and see if the structure clicks the way it should've clicked for me two years ago.&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="Https://codelivly.com"&gt;Https://codelivly.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're building something solo right now too — I'd genuinely love to hear what you're stuck on. Reply below.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>🚀 I Built CODELIVLY — A Platform to Learn Cybersecurity Through Hands-On Practice</title>
      <dc:creator>Rocky</dc:creator>
      <pubDate>Sun, 12 Jul 2026 21:27:50 +0000</pubDate>
      <link>https://dev.to/rockyyy/i-built-codelivly-a-platform-to-learn-cybersecurity-through-hands-on-practice-4plp</link>
      <guid>https://dev.to/rockyyy/i-built-codelivly-a-platform-to-learn-cybersecurity-through-hands-on-practice-4plp</guid>
      <description>&lt;p&gt;Over the past year, I've been building CODELIVLY, a cybersecurity learning platform focused on helping beginners and aspiring professionals learn by doing instead of just watching videos.&lt;/p&gt;

&lt;p&gt;🔗 Website: &lt;a href="https://codelivly.com" rel="noopener noreferrer"&gt;https://codelivly.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Why I Started&lt;/p&gt;

&lt;p&gt;When I began learning cybersecurity, I found myself jumping between YouTube tutorials, blogs, PDFs, labs, and documentation.&lt;/p&gt;

&lt;p&gt;Everything was scattered.&lt;/p&gt;

&lt;p&gt;I wanted one place where someone could:&lt;/p&gt;

&lt;p&gt;Learn the fundamentals&lt;br&gt;
Practice real concepts&lt;br&gt;
Track their progress&lt;br&gt;
Earn certificates&lt;br&gt;
Engage with a learning community&lt;/p&gt;

&lt;p&gt;That idea eventually became CODELIVLY.&lt;/p&gt;

&lt;p&gt;What the Platform Includes&lt;/p&gt;

&lt;p&gt;The goal wasn't to build another course website.&lt;/p&gt;

&lt;p&gt;Instead, I wanted to create an ecosystem for continuous learning.&lt;/p&gt;

&lt;p&gt;Current features include:&lt;/p&gt;

&lt;p&gt;📚 Structured learning paths&lt;br&gt;
🎯 Career-focused roadmaps&lt;br&gt;
🧪 Hands-on labs&lt;br&gt;
📝 Interactive quizzes&lt;br&gt;
🏆 Certificates&lt;br&gt;
👥 Community discussions&lt;br&gt;
🎮 Competitions&lt;br&gt;
📖 Cybersecurity glossary&lt;br&gt;
🛠️ Free cybersecurity resources and tools&lt;/p&gt;

&lt;p&gt;Everything is designed to help learners progress from beginner concepts toward practical cybersecurity skills.&lt;/p&gt;

&lt;p&gt;Tech Stack&lt;/p&gt;

&lt;p&gt;The platform is built using a modern web stack, including:&lt;/p&gt;

&lt;p&gt;Next.js&lt;br&gt;
React&lt;br&gt;
TypeScript&lt;br&gt;
Node.js&lt;br&gt;
PostgreSQL&lt;br&gt;
Prisma&lt;br&gt;
Tailwind CSS&lt;/p&gt;

&lt;p&gt;A lot of effort also went into the admin dashboard for managing content, users, certificates, learning paths, analytics, and community features.&lt;/p&gt;

&lt;p&gt;What I Learned&lt;/p&gt;

&lt;p&gt;Building the platform taught me that software isn't just about writing code.&lt;/p&gt;

&lt;p&gt;It's also about:&lt;/p&gt;

&lt;p&gt;Designing intuitive user experiences&lt;br&gt;
Structuring content effectively&lt;br&gt;
Handling authentication and permissions&lt;br&gt;
Building scalable admin tools&lt;br&gt;
Listening to user feedback and iterating&lt;/p&gt;

&lt;p&gt;The product has evolved significantly since the first version thanks to community feedback.&lt;/p&gt;

&lt;p&gt;What's Next&lt;/p&gt;

&lt;p&gt;I'm continuing to expand the platform with:&lt;/p&gt;

&lt;p&gt;More practical labs&lt;br&gt;
Additional career paths&lt;br&gt;
More community features&lt;br&gt;
Better learning analytics&lt;br&gt;
Improved mobile experience&lt;br&gt;
New free cybersecurity tools&lt;br&gt;
I'd Love Your Feedback&lt;/p&gt;

&lt;p&gt;If you have a few minutes, I'd really appreciate any feedback on:&lt;/p&gt;

&lt;p&gt;Overall UI/UX&lt;br&gt;
Learning experience&lt;br&gt;
Navigation&lt;br&gt;
Performance&lt;br&gt;
Features you'd like to see&lt;br&gt;
Anything that feels confusing or could be improved&lt;/p&gt;

&lt;p&gt;Website:&lt;br&gt;
👉 &lt;a href="https://codelivly.com" rel="noopener noreferrer"&gt;https://codelivly.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for taking the time to check it out. Feedback from the developer community is incredibly valuable as I continue improving the platform.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>saas</category>
      <category>cybersecurity</category>
      <category>career</category>
    </item>
  </channel>
</rss>
