← Claude Hacks (10x Productivity)
I Built PRDs 10x Faster with Claude (PM Hack)
Video 2 of 3 · 31:13
Transcript
Auto generated by YouTube. Click any timestamp to jump to that moment.
Show
Transcript
Auto generated by YouTube. Click any timestamp to jump to that moment.
- 0:02deliver
- 0:03millions of products in a single
- 0:05Um at Zingga I was leading some
- 0:09at Zinga where we I was leading
- 0:12with millions of dollars of
- 0:14revenues and billions of daily
- 0:17users. Currently I build a
- 0:20called code. It's a e-commerce
- 0:24of loable if you can say and lot
- 0:26codepai 80% of code AI is built using
- 0:29code. So I'm a super super power
- 0:31of codep um super super power user
- 0:34cloud code and thanks to claude I'm I
- 0:37able to run and build codepi.
- 0:40with that introduction let's
- 0:42started. What are we going to cover
- 0:44right? Um I'll go through this
- 0:47so that uh I mean probably first
- 0:49an hour I'll go through um what is
- 0:52skill why is it important why
- 0:54we go through it I'll cover two
- 0:56demos um which I think I'm liking
- 1:00using it over last couple of days
- 1:03live demo is about how do you create
- 1:06entire PR um just with a simple idea
- 1:09very vague idea and I'll show you the
- 1:11of what is possible there right um
- 1:13from creating
- 1:15sequence diagram to user flows
- 1:18expanding the problem statement
- 1:20edge cases covering user
- 1:22lot of interesting things um
- 1:26in over there then we'll go
- 1:28a blog a blog writer skill um
- 1:31so
- 1:33show you a demo of how you can
- 1:35a very complete blog along with an
- 1:37generation and how do how is skill
- 1:40helpful here should you and and
- 1:42we'll end it up to say what is
- 1:44a framework and um state of mental
- 1:47which you have to follow if you
- 1:50to overengineer and create a skill
- 1:52you know basic prompts will work. So
- 1:53also cover through a small
- 1:55at the end. All right. Uh
- 1:58this short format probably I'll
- 2:00make it too interactive. I will
- 2:03cover these along with live
- 2:04for first half an hour and I'll
- 2:06up for questions in the last 15
- 2:08All right.
- 2:11So what is skills right like what
- 2:14it really matter um effectively
- 2:18all of us have been using prompts
- 2:21a very very good way like both in
- 2:24AI or chat gibbity or publicity
- 2:26cloud code different tools and
- 2:29skill sets and currently cloud
- 2:32as well. Now you might have
- 2:35um that often times you have to
- 2:38a lot of repetitive prompts right
- 2:40say you have a particular brand
- 2:43in mind right um and it has to
- 2:46the brand language every time
- 2:48the instructions have to be
- 2:50to the tea you don't want those
- 2:54or double dashes out there in the
- 2:57output right because it the output
- 2:59to look very very human especially
- 3:01the search engines penalizing all
- 3:05engines and social media
- 3:07AI generated content, right?
- 3:10need it to be very consistent out of
- 3:12box. Every time let's say you're
- 3:14a PRD, you got five or 10
- 3:17sections in mind. It has to
- 3:19that structure to the T. It
- 3:20not deviate from the structure
- 3:22by you. And you and maybe lot
- 3:25of you might have observed like
- 3:27you use cloud code especially or
- 3:29co-work um it tends to go in
- 3:33trying to figure out how this
- 3:36to be done right which means it's
- 3:38let's say you got a small code
- 3:41you ask it to write a small blog
- 3:45every time you ask it to write a new
- 3:47it's going to probably read your
- 3:49files it's going to read your
- 3:50code structure layouts
- 3:53then finally go back to start
- 3:56your blog. And again, the
- 3:58of repeating some mistakes that
- 4:00always makes is um pretty much
- 4:02right? So, um skills are
- 4:06a very good way to solve sort
- 4:09solve for token wastage as well,
- 4:11And then easier handoff, right?
- 4:13so let's say skills are easily
- 4:16which means once you create a
- 4:18which I'm going to show just now
- 4:20a while and I can also share these
- 4:23with you which means the PR skill
- 4:25I'm going to demo to you I'm going
- 4:27share it with you guys. You guys
- 4:29you guys can use it either from
- 4:31co-work or cloud code and try to
- 4:34the magic live right probably you
- 4:37should definitely try it over the
- 4:41right. Um, so given this, what is a
- 4:45is a high level anatomy of a claude
- 4:46right? Like how does it really?
- 4:58let's limit this group to the
- 5:01session that that's happening
- 5:05right. U, so what is cloud skill,
- 5:08So how what is the structure of a
- 5:09skill? How do you even write a
- 5:10skill? Right? Uh effectively it's
- 5:13prompt. Um you can write a small
- 5:15which defines what needs to be
- 5:17You can write set of rules. Um so
- 5:20don't want this to to become like a
- 5:24agent which which gets um
- 5:27at any random point in time.
- 5:29you have you can set some controls in
- 5:31right okay given this cloud skill
- 5:33are the tools it can use? what are
- 5:35levels of permissions that we can
- 5:37give to the particular skill? Can
- 5:40be triggered by me or can it be
- 5:42by claude itself? Right? So
- 5:44are a lot of guardrails in place
- 5:45claude already provides. There are
- 5:48of files that you can provide um
- 5:51in terms of reference, right?
- 5:53in terms of PRD, if your
- 5:55follows a particular structure,
- 5:57can um give lot of examples and
- 6:00so that Claude can always
- 6:03the same structure. And finally,
- 6:05right? Uh when you create a
- 6:07typically claude works pretty well
- 6:10you create a MD or a markdown
- 6:13But let's say after the markdown
- 6:16completed, you want it to be uh
- 6:18into a PDF format or with your
- 6:22company's logo on top of it, right?
- 6:24maybe a doc format so that you can
- 6:26share with couple of your
- 6:28and you can collaborate on
- 6:29of it. So all these are part of
- 6:31and maybe a blog article where I
- 6:33to generate an image based on the
- 6:35that I the content that I just
- 6:38these are parts of scripts which
- 6:40think about this way right you you
- 6:43um creating a repeatable workflow
- 6:46yourself where you are giving
- 6:48instructions which goes into
- 6:50skills.mmd or the prompt file then
- 6:53setting some rules you are giving
- 6:56to couple of files where you can
- 6:58references examples and other
- 7:00and finally you have scripts so
- 7:02um claude can run some of those
- 7:04commands and do the job for you
- 7:07connecting to maybe external
- 7:09right?
- 7:16this is a skill.md structure you
- 7:18a name that you mention um so for
- 7:21for the PRD one I have given it
- 7:23name of feature breakdown uh you you
- 7:26to be very careful when you write
- 7:28descriptions because descriptions
- 7:31a way through which claude detects
- 7:34skill to pick right um so you you
- 7:38start typing to say hey create a PR
- 7:40me for this particular idea and
- 7:42autom automatically figures out
- 7:44Rajes has probably 20 skills
- 7:47out of which I need to pick
- 7:49breakdown skill right so
- 7:51are super super important
- 7:53need to be very specific to ensure
- 7:56gets triggered only on this only on
- 7:58particular skill that you require it
- 8:01trigger on right
- 8:03I can give a structure hey look I I
- 8:05a PR this is a high level structure
- 8:07terms of what I need so these are the
- 8:08that go to your skill.md
- 8:10which is a prompt Right now the
- 8:12can be stored at multiple
- 8:14similar to cloud.md file. It can
- 8:17be at a personal level which is
- 8:19your laptop or a desktop level. It
- 8:23which applies to all your projects.
- 8:25can trigger the skills from any of
- 8:26projects within your cloud
- 8:28The second one is at a
- 8:30level. You don't want skills to
- 8:32spread all across your projects. You
- 8:35skills to be presented uh and
- 8:37via particular products. You
- 8:40also define at that level. very
- 8:41to claude.md files. Claude.mmd
- 8:45more of instructions to claude in
- 8:46of following a a particular
- 8:49in terms of code generation. Um
- 8:53also apply at similar levels at a
- 8:55level and the project level and
- 8:57you have an organization you can also
- 8:59some plugins at a enterprise level.
- 9:04great uh I let's jump in. I think we
- 9:07limited time so let's jump in. I'll
- 9:10my screen.
- 9:23Great. So,
- 9:27is a PRM maker um folder that I
- 9:30in my um in my particular file.
- 9:33I'll show you how the skills.mmd
- 9:37and other things look for this. Let
- 9:39show you the magic first and then and
- 9:42I'll show you the structure in in
- 9:43of what I have built here. Right.
- 9:52create
- 9:54PRD for a new feature
- 10:01on code pop AI
- 10:19start
- 10:30Stripe integrations. As a product
- 10:32I need a new integration which
- 10:34with PayPal where um any builder who
- 10:37their website on codei can attach
- 10:40PayPal account and start receiving
- 10:43over that particular channel.
- 10:44So, again, I kept it very vague
- 10:46very simple. Obviously as product
- 10:48we go much deeper but let's see
- 10:50cloth does right so this is the one
- 10:53PayPal that I that I created
- 10:56right in this case if you can
- 11:01this was uh me um improvising on
- 11:04prompts and clot skills in this
- 11:07case it came back with a very
- 11:13are the product decisions that we
- 11:15going to do what are the key
- 11:16flows was a highle sequence
- 11:19right in terms of how the
- 11:21happen between a builder
- 11:24front end back end and my PayPal
- 11:27um pretty useful when you are a
- 11:30pain this takes some time to
- 11:32but thanks to the cloud skills and
- 11:35scripts that I use this um all this
- 11:38in an instant right in a in a
- 11:40or so
- 11:42then tada
- 11:45is a user flow diagram What happens
- 11:47a PayPal integration, right? Um
- 11:51comes in, they open a payments
- 11:53click connect with PayPal
- 11:56then um does he have a pay PayPal
- 11:58If so, follow this particular
- 12:00flow and if completed once
- 12:03you know, probably check if
- 12:06hook payments are received or not
- 12:09then you know the payments are
- 12:10right? So pretty elaborate in
- 12:13of uh what it came out with.
- 12:16to the skills that I created and
- 12:18this was one shot. Right now I got a
- 12:21workflow for my PRDS where I
- 12:23write a single sentence and claude
- 12:26up with all these elements thanks
- 12:28the skills and also as you can see I
- 12:31added a small watermark of code pub
- 12:33I have also added a header and
- 12:35you know to show my brand theme
- 12:38brand color which is pretty
- 12:39all across.
- 12:42these were possible thanks to clot
- 12:44Right
- 12:46let's jump into how that file looks
- 12:49Right. Um
- 13:00file that I created right. Um
- 13:04go this sits in my um claude root
- 13:08and there's a folder called under
- 13:10there's a folder called feature
- 13:12and if you see there is a
- 13:22how it looks okay this how a
- 13:26file looks given a very good
- 13:29in terms of when this this
- 13:31be triggered Right? I'm I have
- 13:34explicit instructions to say hey
- 13:36this whenever user says
- 13:37like write a PR for me or help
- 13:40with a spec or break down this
- 13:41Right? This is super super
- 13:44otherwise your cloud skill
- 13:45not be triggered.
- 13:48have given some configurations because
- 13:50wanted it to be portable. So um I'll
- 13:53it probably after this call. All
- 13:56need to do is there's a skill skill
- 13:58MD file where you need to enter
- 14:00own details and claude will start
- 14:02for your companies based on your
- 14:04colors, brand themes, instructions
- 14:07other sorts. And I told about hey um
- 14:11very clear about some of these who
- 14:13you building for, what is the
- 14:14statement, I need a PR summary,
- 14:17need a problem statement, solution,
- 14:19now? All the sections you see over
- 14:21and I also gave detailed
- 14:23in terms of technical flow,
- 14:25examples of mermaid diagrams, what
- 14:27the business rules it has to follow,
- 14:30flow diagram, some examples of the
- 14:32um pretty much lot of instructions
- 14:36ensure my workflow is repeatable and
- 14:40a way I have trained claw to you know
- 14:42my custom instructions every time
- 14:46every time I create a spec
- 14:56examples. Um I've given examples of
- 14:59colors. I've given a checklist of
- 15:02release notes should look like. Um I
- 15:04given examples of different
- 15:07Uh a PR template, analytics
- 15:10template, brand colors, lot of
- 15:13things, right? So this pretty
- 15:15what we covered just now which says
- 15:17a skill.md file which is more of
- 15:19instruction. Um I improvised it
- 15:22to say I also created a skill
- 15:24MD file so that any of you can
- 15:27the skill that I have created for
- 15:29own organization.
- 15:31are a lot of files which I created
- 15:33claude uses as reference at the
- 15:35These are super helpful because
- 15:38don't want to bloat up your context
- 15:40right on the first go. So what
- 15:42does is it it only looks at
- 15:44file uh during your initial
- 15:47set and if the skill matches
- 15:50only when required it goes to your
- 15:52documents right so that way you
- 15:54keep the context very concise and
- 15:59all right and also so I also talked
- 16:02scripts right so convert_pd
- 16:04there's a script that runs every
- 16:07my u my overall pd is generated
- 16:11So how this works is claude works
- 16:13all these in instructions
- 16:15a markdown file and that
- 16:18file is converted into a PDF
- 16:20doc file which I just displayed to
- 16:22documentation file. Um and all this
- 16:25done thanks to the scripts that I
- 16:27generated. So so pretty much an
- 16:30use case in terms of how I use
- 16:32skill to create my PR.
- 16:36great. This is one good example. I
- 16:39other good example probably I'm
- 16:41able to show you because Claude is
- 16:44some issues but I can also show
- 16:47a blog file that I generated right
- 17:06simpler
- 17:12a website right now which is uh
- 17:15website.
- 17:22in here and all these blogs are
- 17:25in a particular format right
- 17:26you look at a blog I need a uh
- 17:29I need a subtitle I need a
- 17:31I need a small image to be
- 17:33and then um you know the the
- 17:36body of what the blog says right
- 17:40I don't want this to be AI so I
- 17:42to humanize the entire blog content
- 17:45so it doesn't look like AI has
- 17:47this entire content Right. Um
- 17:50my codebase has a particular
- 17:52Um I sort of automate this
- 17:55thing by storing the blog data in
- 17:58JSON format. So so claude what I did
- 18:01in the cloud skills I sort of created
- 18:06cloud skill which is highly
- 18:08for my particular use case.
- 18:17for my use case, right? I
- 18:20just go in punch in a topic and
- 18:24blog writer skill will create the
- 18:27JSON structure for me which will
- 18:31push to production and my blog
- 18:33published automatically, right? And I
- 18:35wrote a script that should be
- 18:37which automatically calls the
- 18:39APIs to create an image for me.
- 18:42I write a simple oneliner in terms of
- 18:44blog that I need. Claude skill takes
- 18:47of the rest and publishes the blog
- 18:49with an image. Right? So if you
- 18:51at this MD file, I give detailed
- 18:54in terms of what to do,
- 18:56not to do, uh which sort of lang
- 18:58to use, what sort of tone to
- 19:00Uh there are different components
- 19:03a blog like you know the the title
- 19:05metadata description uh what goes
- 19:08first paragraph what are the
- 19:10tags that it should create
- 19:11um multiple elements and also
- 19:15are SEO optimized right so I need
- 19:18create a something in this format
- 19:22which is required for front end to
- 19:24and I also show a lot of relevant
- 19:27under each blog right so I give
- 19:29instructions in terms of what
- 19:31do what not to do and finally once
- 19:34does I also give it a script
- 19:35run right so if you see there's a
- 19:37that I already have which I want
- 19:40to run uh where it takes input as
- 19:43title of this blog and it runs it
- 19:46a Gemini API to create an image
- 19:48for me. So yeah uh this is a
- 19:51simple instruction file but again
- 19:54I had to do this again and again on
- 19:57a claude code probably I'll have
- 20:00create a memory file claude will um
- 20:04probably divert once in a while and
- 20:06have to course correct which means
- 20:07waste lot of tokens right so this is a
- 20:11way to automate your workflows
- 20:14you have a definitive repeatable path
- 20:17you want to follow again and Okay.
- 20:20right. Cool.
- 20:24treadm let me go back to the PPT.
- 20:33by the way, so these are just, you
- 20:35we are touching just scratching
- 20:37surface of what claude skills or
- 20:39can do. Um I'm also hosting a
- 20:42um from starting from March 27th
- 20:45we go pretty deep into AI coding
- 20:47this is the entire knowledge that
- 20:49gained over last one year in terms
- 20:51using cloud code to build codep
- 20:54into one simple cohort over 6
- 20:57period. Right? So we'll have a lot
- 20:59capstone project. We'll have hands-on
- 21:01We'll go topic by topic in
- 21:03of what you need to learn within
- 21:06code to become a a good expert in
- 21:09of building um building real
- 21:12that that that that you can
- 21:14live. Right. The success metric for
- 21:16would be like all my cohort students
- 21:18be able to repeatably and
- 21:22build some of these products
- 21:25take them to production and live. So
- 21:27is a confidence that all these
- 21:29students will will get. Uh
- 21:32a QR code. You can scan the QR
- 21:33or you can go to the link. Uh this
- 21:36available I mean this available on
- 21:37So feel free to check it out.
- 21:41U again blog writer skill. I
- 21:43we discussed enough about this. I
- 21:45a content idea which u which I go
- 21:49which goes through cloud skill
- 21:50creates a detailed blog JSON as
- 21:52as runs the image script for me.
- 21:55how the blog was was getting
- 21:57right? Um all right. So I
- 22:01I will
- 22:03leave you with one thought and then
- 22:05open it for Q&A. Uh what is a
- 22:08that you should keep in mind
- 22:09you skill, right? Very simple. If
- 22:13is a repeatable process, if you have
- 22:16structure, um, if the structure of
- 22:18output really matters to you, if you
- 22:20a consistent output anytime,
- 22:23and every time, and if you want
- 22:25to follow your instructions in the
- 22:27exact way again and again, right?
- 22:29so think about some of these mental
- 22:32I think I love it when we use it
- 22:35PR generation because it's a
- 22:36executional task. I love it
- 22:39block generations. Um and it follows
- 22:42brand tone and brand colors to the
- 22:44Front end generation there are a
- 22:46of interesting skills available
- 22:48now to avoid the AI slop. Um I
- 22:51there is a repository called taste
- 22:53which you guys should definitely
- 22:55There are some by versel. There is
- 22:58front end design skill by claude as
- 22:59Anthropic as well. All those are
- 23:02interesting right u social media
- 23:04Brilliant. Right. Again, lovely
- 23:07these are different formats and
- 23:09are very small formats, right? So,
- 23:12does fantastic job in in terms of
- 23:14your social media posts,
- 23:17summarization, customer email
- 23:19and again uh the space is wide
- 23:21It depends on which use case you
- 23:24to build and how you want to
- 23:25But key thing to keep in mind
- 23:28whichever is a repeatable process
- 23:30you want to automate using cloud,
- 23:33should definitely go for cloud
- 23:41will stop here. I'll open it open it
- 23:44for questions. Um, one second. I'll
- 23:49you the chat access.
- 23:56Probably this is a good time
- 23:57ask.
- 24:12I'm good.
- 24:14Uh this is Eddie. Thank you. Uh
- 24:16So when you build out these
- 24:19very detailed PRDs, um do you just
- 24:22it into clawed code to and it
- 24:26them out and it follows the
- 24:28precisely? Cuz it it just
- 24:30like a lot. And I've I've used
- 24:32but uh never that detailed. So it
- 24:36like is it going to lose some of
- 24:38context? Is is some of it going to
- 24:40lost? How and and in some ways also
- 24:43necessary it is versus how desired
- 24:47is I guess would be another way of
- 24:49it too.
- 24:50good question Eddie. Look, what
- 24:53is uh in a typical PR
- 24:56so this is an evolution,
- 24:58uh when I started using claude
- 25:01really claude code maybe claude as a
- 25:03the web I used to give in bunch of
- 25:07documents that I have I probably
- 25:09three or four documents of my
- 25:11PSDs and I ask to ask claw to
- 25:14back with a PR for a new feature
- 25:16that used to be my typical
- 25:18but when the output comes um
- 25:21output is not 100% accurate right so
- 25:24probably the document didn't have my
- 25:26tone or you know the formatting.
- 25:28which means I need to copy a very
- 25:30prompt again and again. Um, and
- 25:34um I probably have to do at least
- 25:3720 conversations before I'm finally
- 25:41about consistency of the
- 25:42Right? Cloud skill is a
- 25:45way to automate. Again, the
- 25:46I have showed is show shown you
- 25:48the most advanced way because I want
- 25:50cover diverse set of users uh
- 25:53PMS, customerf facing PMs and
- 25:55sort of product managers. But the
- 25:57is you can optimize this as per
- 26:00own organization and your own
- 26:02and you can further reduce this
- 26:04customize it right and the best
- 26:06is claude skills will always
- 26:09least possible amount of tokens
- 26:12get to um your final goal. So if you
- 26:16less token consumption u less money
- 26:19be spent on a deflative workflow
- 26:21PR creation you should
- 26:23go for it. Does it answer
- 26:26question, Eddie?
- 26:28it does. It does. And when you
- 26:31when you're building with the PRDS,
- 26:33thing I use is uh cuz I've used
- 26:36I'm still new. I've only used
- 26:38and I'm I'm trying to jump on a
- 26:40others. Uh I I make sure that
- 26:44a task MD basically or sprint
- 26:47So everything goes in sprint and
- 26:48So I could pretty much monitor
- 26:51development. Do you do that as well
- 26:53the PRD or do you just feed it
- 26:55the the PRD and let it pretty much
- 26:58like how do you structure the
- 27:01actual development? How do you
- 27:03it as it continues?
- 27:05I think what I think I took lot of
- 27:08in terms of optimizing
- 27:10particular uh skill.md files,
- 27:14Um so if you look at this
- 27:26have fed PR template here I fed brand
- 27:29here it took me a couple of
- 27:32to build this entire um skill
- 27:35myself uh but once I have built this
- 27:39works like a charm right so now I
- 27:41I do is I'm very sorry guys I could
- 27:43open cloud and show you the real
- 27:45but what happens now is when I go
- 27:47cloud code I say write a PR for
- 27:50integration for me. It
- 27:53triggers this claude skill
- 27:55within 1 minute my full PR is ready
- 27:57full PR document PDF uh all those
- 28:00are ready along with all the
- 28:04it adders consistently to my
- 28:05instructions so I think that's
- 28:08beauty so I don't monitor generally
- 28:10just do control and cloud code and I
- 28:12at what it tends to do it took me
- 28:14of iterations to um sort of build
- 28:16skill but once it is built it is
- 28:19reusable every time and it
- 28:21me perfect output
- 28:28you.
- 28:30right.
- 28:33Any other questions, folks?
- 28:47chat. Okay. Yeah. Yeah. Idea. I'm
- 28:50to share this document with all of
- 28:51guys and I'm also going to uh share
- 28:54PR skill specifically and I'll give
- 28:58an instruction in terms of how you
- 28:59import into your own cloud code or
- 29:02co-work and you can reuse it
- 29:04for yourself. So u so that way
- 29:07think um you'll not you'll not at
- 29:09one week of your time will be
- 29:11So you can just customize it and
- 29:13using for yourself.
- 29:22you tried nesting skills or we
- 29:25keep them separate?
- 29:28haven't tried nesting skills per se. I
- 29:31used one skill at a time. But
- 29:33an interesting thing. Probably
- 29:35try it out next time. But I haven't
- 29:37typically for a even for this
- 29:40skill. If you see we have
- 29:41some advanced concepts like u
- 29:43context loading right in
- 29:46for the feature breakdown I
- 29:48had specific set of instructions
- 29:50when clot triggers at skill we had
- 29:53detailed documentation like PR
- 29:54add brand colors other things
- 29:56is a progressive disclosure of
- 29:59so that we don't load up the
- 30:00window and we also had a
- 30:02script right which runs
- 30:05which converts a MD file into a PDF
- 30:08document and everything happens one
- 30:10So, um but but I'll definitely try
- 30:14skills next time.
- 30:23s I am on LinkedIn. I'll ping you
- 30:26link.
- 30:45anything that you need. All right,
- 30:47guys. Thank you so much for your
- 30:49Thank you for patiently listening
- 30:51the entire session. Hopefully um uh
- 30:54guys have gained some knowledge
- 30:55and I'll ensure I'll follow up
- 30:57um a detailed instruction in terms
- 31:00how to import the skill and start
- 31:02your PSDs uh dynamically. All
- 31:04have a nice day. Bye-bye.
Beautiful frontend designs using Claude SkillsNext: Claude Code Tips & Tricks Nobody Tells You, 8 Principles to Build Faster & Smarter
Want the next one in your inbox?
Join 1,000+ Product Managers getting one deep dive every Friday.