Claude Hacks (10x Productivity)

Beautiful frontend designs using Claude Skills

Video 1 of 3 · 25:43

Transcript

Auto generated by YouTube. Click any timestamp to jump to that moment.

Show
  1. 0:02in. Uh in the meanwhile, brief
  2. 0:03about me. I'm Rajesh
  3. 0:05I am the founder of CodePai
  4. 0:08is lovable for um e-commerce
  5. 0:11and previously I have worked at
  6. 0:13of companies like Zingga,
  7. 0:15and Walmart um in a product
  8. 0:17position. Right? Since last
  9. 0:19year, I've been a heavy heavy user
  10. 0:21cloud code. Um, and I thought some of
  11. 0:23sessions can help a lot of you
  12. 0:25to onboard onto cloud code and use
  13. 0:28for your daily product manager task
  14. 0:30your side gigs. So today's session we
  15. 0:32to cover we're going to see
  16. 0:34of how I use front-end design
  17. 0:37I think there has been lot of
  18. 0:39over last couple of months on
  19. 0:41They have been shipping features
  20. 0:43a crazy pace. skills is one of the
  21. 0:46important features that caught my
  22. 0:48and I'm going to demo to you u live
  23. 0:51terms of how I use some of these
  24. 0:53to make better front-end
  25. 0:55Okay. And I will maybe keep
  26. 0:58chat window on so that you guys can
  27. 1:01typing in if you have any doubts.
  28. 1:04you guys able to type in? Is my
  29. 1:06audible? Can you guys type in in
  30. 1:07chat? Okay, that's great. Okay,
  31. 1:09get started. I think we are 3
  32. 1:12in. Great. Um so I don't know
  33. 1:14many of you attended the last
  34. 1:16but we covered some of the basic
  35. 1:18anatomy of how a skill looks like how
  36. 1:21you use it and we covered a skill
  37. 1:23PDM maker where you um where you
  38. 1:25a simple oneliner in terms of the
  39. 1:27that you want to build. The demo
  40. 1:29I showed was a feature where I
  41. 1:31to integrate PayPal um with
  42. 1:34as users and I wrote a simple
  43. 1:36and it created a wonderful
  44. 1:38long PR for me along with
  45. 1:40user sequence diagrams, user
  46. 1:43analytics tables in terms of what
  47. 1:45track, what what not to track,
  48. 1:47case study, who it is for, user
  49. 1:50lot of different things,
  50. 1:51Um but again, a quick revision of
  51. 1:54is a skill. A skill is nothing but
  52. 1:56repeatable workflow of what you want
  53. 1:58build. Claude has too much of
  54. 2:01overall. It's like a huge uh
  55. 2:04base uh which is very
  56. 2:07into a small LLM. It's not
  57. 2:09it's big LM. When I say small,
  58. 2:11tokens of context window recently
  59. 2:13expanded to 1 million which is a
  60. 2:15respite but still it's still
  61. 2:17to 200k tokens for efficient
  62. 2:19and it can only do limited uh
  63. 2:22within that context window. Right?
  64. 2:24skill is a way for you to guide and
  65. 2:26the LLM to a definitive path.
  66. 2:28LLMs generally tend to reach the
  67. 2:31destination after you give a lot
  68. 2:33prompts, lot of guidances. So imagine
  69. 2:36going in concentric circles before it
  70. 2:38reaches it destination at the
  71. 2:40Right? Um with skills you can
  72. 2:42draw a radius from outer
  73. 2:45to the center of the
  74. 2:47Right? So it's the least
  75. 2:49path and obviously least
  76. 2:51tokens and least possible cost
  77. 2:53get to where you want to go. Um in a
  78. 2:56that is all skill is about
  79. 2:58So uh let's jump in. I'll share
  80. 3:00claude. Today we're going to see
  81. 3:02design. We'll create one one
  82. 3:04two websites using a front-end design
  83. 3:05and see how cloud performs and you
  84. 3:08can tell me whether it looks better
  85. 3:10any AI slob that you have faced or
  86. 3:12websites that you have created.
  87. 3:14Um great. Let's jump in. Um,
  88. 3:18I hope you guys are able to see my
  89. 3:21screen.
  90. 3:29opens entire thinking process. So you
  91. 3:32see what Claude is actually doing,
  92. 3:41X3 folder to Reactbase. Yes, perfect.
  93. 3:47what we want to do.
  94. 3:52these are the skills it is trying to
  95. 3:53right? Great. So, done. Copied the
  96. 3:57Design taste front end, high-end
  97. 4:00design, and minimalist UI. We'll
  98. 4:02couple of skills. High-end visual
  99. 4:04is all about when you go to a big
  100. 4:07or or UI agency, they charge
  101. 4:10a bomb. $100K, $200K to create
  102. 4:12UI experiences. High-end
  103. 4:15visual high-end visual design
  104. 4:17to replicate some of those
  105. 4:18Minimalistic UI is
  106. 4:20like you know your medium or
  107. 4:22which has simple monochromatic
  108. 4:26patterns which also look
  109. 4:27So we'll try both the skills
  110. 4:28Let me see if the skills are
  111. 4:33obviously not. So what we'll do
  112. 4:35is
  113. 4:38just have to reload my claude
  114. 4:41this should show up now.
  115. 4:44there you go. See project level
  116. 4:47I've got high-end visual design,
  117. 4:49taste, front end, and minimalist
  118. 4:51and user skills. These are some
  119. 4:54that I that I'm using recently.
  120. 4:56SEO maker feature breakdown is what
  121. 4:58have seen last time, which is about
  122. 5:00making my PR. Then there's a blog
  123. 5:03skill. Then there's a cloud skill
  124. 5:04I use to create and deploy
  125. 5:06in Azure. Right? But for this
  126. 5:08we'll use only two skills which
  127. 5:10high-end visual design and minimalist
  128. 5:12Okay.
  129. 5:14let's see
  130. 5:17um I am giving this command
  131. 5:20but typically based on the
  132. 5:22claude also has the ability
  133. 5:24pick the skill on its own right. So
  134. 5:26going to say use high-end visual
  135. 5:31create a
  136. 5:35say portfolio page portfolio page
  137. 5:41P
  138. 5:44is founder of codeb AI
  139. 5:49has 15 plus
  140. 5:53workx.
  141. 6:01some memory of my past. I think
  142. 6:03enhance and try to do some
  143. 6:05things. Uh but let's see what
  144. 6:07does, right? So I'm just giving a
  145. 6:08command uh use this particular
  146. 6:11which is high-end visual design to
  147. 6:13a portfolio page for Rajes who
  148. 6:16of code AI and has 15 years work
  149. 6:18in product management. Right?
  150. 6:21maybe
  151. 6:23black premium black and green color
  152. 6:29and green. Black.
  153. 6:34and white
  154. 6:44right? And maybe let's also
  155. 6:47a small screenshot
  156. 6:50how superbase looks.
  157. 7:12not necessary that you need to
  158. 7:14the skill every time you just
  159. 7:17the skills. Probably Claude has
  160. 7:19ability to trigger it automatically
  161. 7:21your description is short and Chris.
  162. 7:23because I have so many skills here,
  163. 7:25lot of design skills around it's very
  164. 7:27that it'll pick a random skill.
  165. 7:29the reason I had to mention
  166. 7:30Right? So let's see what
  167. 7:33is trying to do.
  168. 7:35great. It's looking through my
  169. 7:37through my base template. uh
  170. 7:40base template I only created
  171. 7:41we are limited in time and I
  172. 7:44to uh give a basic scaffolding
  173. 7:46claude can work around with but
  174. 7:48not mandatory with couple of
  175. 7:50cloud can also do the job for
  176. 7:52only thing is you know it's it's a
  177. 7:54of it's a bit timeconuming
  178. 8:04all mode only to ensure we have
  179. 8:07pace of execution
  180. 8:10but you can I generally don't do
  181. 8:11I generally work on this
  182. 8:14mode where claude gives me
  183. 8:16previews. I go through the previews
  184. 8:18I keep accepting them. Right. Um
  185. 8:21we got some chat.
  186. 8:27instead of snapshot from a third
  187. 8:29website, can you refer link or
  188. 8:32system let's say on Figma or on
  189. 8:35Uh good question, Nicl. You
  190. 8:37do that. Um you can there are a
  191. 8:40of MCPS for Figma which you can
  192. 8:42and then uh give Claude the
  193. 8:44to your link. There are some
  194. 8:48skills as well that you can install
  195. 8:50can go to a particular URL and
  196. 8:52the URL get some details for you
  197. 8:55the other way is obviously taking
  198. 8:58of screenshots from the website
  199. 9:00dump into claude claude uh can
  200. 9:03a decent enough design system
  201. 9:04through screenshots as well. So
  202. 9:06different mechanisms. One is have
  203. 9:09Figma skill or Figma MCP. Have a uh
  204. 9:13URL browser skill like um either
  205. 9:16crawl or you know browser use or
  206. 9:18other skill. And third is have your
  207. 9:20playright server running in your own
  208. 9:22So three four possibilities
  209. 9:24which you can make this happen. And
  210. 9:27if you have your own design
  211. 9:28written down somewhere in terms
  212. 9:30color palette, fonts etc. you can
  213. 9:33feed those in.
  214. 9:36hope that answers your question,
  215. 9:44questions you have. I'll take the
  216. 9:45on the flow. I think this will
  217. 9:47take a couple of minutes to run.
  218. 9:59to build but I mean the packages
  219. 10:01not installed. So it will not run.
  220. 10:05I'll do is please
  221. 10:09first
  222. 10:14This is something that I am aware
  223. 10:16So I give this command but otherwise
  224. 10:18itself can figure out after three
  225. 10:20four retries.
  226. 10:28install the package. So without
  227. 10:30the packages, it's trying to
  228. 10:32into node modules trying to figure
  229. 10:34how the application runs which will
  230. 10:36which will not work right.
  231. 10:39now it's installing all the uh
  232. 10:41from my package.json of my
  233. 10:44template and I think once it is
  234. 10:46it'll try to run the try to check
  235. 10:49there are any TypeScript errors and
  236. 10:51should be good to go.
  237. 10:58have guys while we uh talk. I think
  238. 11:01I'm sure you'll you'll have a lot of
  239. 11:03and don't be scared because I'm
  240. 11:06showing you a terminal with you know
  241. 11:08coding language going on even I
  242. 11:10understand a single line of maybe
  243. 11:11do understand a couple of lines but uh
  244. 11:14not mandatory to understand what
  245. 11:17is it writing what every element of
  246. 11:19is what the syntaxes are u but it's
  247. 11:23it's good to monitor at a high level
  248. 11:26ensure it's going in the right
  249. 11:27right and lot of things you
  250. 11:29are going to learn in Our cohort
  251. 11:31tomorrow will gear you up to
  252. 11:33you have the high level uh eagle
  253. 11:36vision in terms of monitoring the
  254. 11:39on the flight.
  255. 12:03went for some of the color patterns I
  256. 12:05Uh, okay. So, let's see where
  257. 12:09is running.
  258. 12:12show you the URL.
  259. 12:15We are on 5175.
  260. 12:26okay. We can iterate it as well but
  261. 12:29very different compared to regular
  262. 12:30slob right product thinking and again
  263. 12:33think this is uh this follows the
  264. 12:37color patterns of black white and
  265. 12:39I instructed it to do um I
  266. 12:42don't like the font it
  267. 12:44quite different elegant but
  268. 12:46I'll I'll tweak it around play
  269. 12:48later right it says from player
  270. 12:53founder I don't know what it means
  271. 12:54I'm sure it means from zinga to Code
  272. 12:57It tried to improvise quite a lot
  273. 13:00that's okay. Code AI, Walmart,
  274. 13:02where I worked. Uh, and then
  275. 13:06so it also has connect to
  276. 13:08Try codepai.
  277. 13:10right, this went in because claude
  278. 13:12a memory of you know what codep URLs
  279. 13:15Let's definitely
  280. 13:23random dude which will not work.
  281. 13:26but but look um
  282. 13:30is much more different from what
  283. 13:31would generate if I had asked Claude
  284. 13:34do this without writing any skills.
  285. 13:37Let's try to maybe use the same
  286. 13:39Um I'll pause for a moment. Any
  287. 13:42so far on this particular
  288. 13:54laptop level I have got a cloud.md
  289. 13:56I think there I have defined
  290. 13:58of lines about myself and my
  291. 14:00which I tend to use quite a lot.
  292. 14:03whenever I I use some things quite a
  293. 14:06I tend to save it at cloud.md that
  294. 14:08the memory at a laptop level. So it
  295. 14:10picked couple of information from
  296. 14:12particular file. Right.
  297. 14:20else before we try to try try a
  298. 14:22vanilla version without the skill
  299. 14:27maybe just for fun we can try
  300. 14:29skill right
  301. 14:31so
  302. 14:42see let's go to code two
  303. 14:56prompt.
  304. 15:13Great. It doesn't have any design
  305. 15:15And now I will say
  306. 15:23a go portfolio page for Rajes.
  307. 15:25I'll also attach the same screenshot
  308. 15:28that we are on a level playing field.
  309. 15:40go.
  310. 15:47from plain vanilla
  311. 15:52code without using any particular
  312. 15:54as such. It's only using my base
  313. 15:57couple of sad scene components
  314. 15:59I already have and it's trying to
  315. 16:01a website on top. Right? So let's
  316. 16:03what it does
  317. 16:06in the meanwhile I'll also show you
  318. 16:08couple of websites that I created um
  319. 16:12before coming into the session all
  320. 16:14was create were created using
  321. 16:16visual design right so this is
  322. 16:18that I created this is running
  323. 16:20my local server as you can see u I
  324. 16:22hey create me create a a beautiful
  325. 16:25conference landing page for me u
  326. 16:28AI product managers right it came up
  327. 16:31this beautiful design where AI
  328. 16:33product thinking.
  329. 16:36has got some schedule going on in
  330. 16:38of what is the itinerary for the
  331. 16:413 days.
  332. 16:43all the names of the builders and
  333. 16:46who are going to talk about or
  334. 16:48some sessions during during that
  335. 16:49Um I can enter my name and join
  336. 16:53weight list. Right?
  337. 16:56I can join the weight list and it has
  338. 16:59a FAQ section. So this entire design
  339. 17:02created by um by Claude on its own
  340. 17:05the skill which is the visual
  341. 17:08skill right and then let me see
  342. 17:12I can show you the other one.
  343. 17:21the one that we just created. Yeah.
  344. 17:25are we here? Okay.
  345. 17:29think this should finish in next 1
  346. 17:31or so.
  347. 17:43sure same problem will come up.
  348. 17:51please do
  349. 17:55first
  350. 18:10pretty fast because not really
  351. 18:13fast, but decently fast because I
  352. 18:15a basic scaffolding and it has
  353. 18:17work around the same scaffolding. But
  354. 18:19you had tried it from scratch, it
  355. 18:21have taken you double or triple
  356. 18:23amount of time, right? and then it
  357. 18:25have been stuck in some mistakes
  358. 18:28you had to help to um get out of
  359. 18:30So uh anytime you create any
  360. 18:33um if you have a basic
  361. 18:36or basic project structure
  362. 18:38uh you know already works or a
  363. 18:40template starting from that always
  364. 18:43a lot right and as we have seen in
  365. 18:45session the skills really enhance
  366. 18:48output that it generates um
  367. 18:51the front end design as we
  368. 18:52seen now.
  369. 19:01uh from the plain vanilla one
  370. 19:03the uh skill as well which will
  371. 19:07us a good comparative pointer.
  372. 19:18your questions in the chat section.
  373. 19:21to take those.
  374. 19:59my
  375. 20:26surprisingly better than the front
  376. 20:29design we skill we used which is
  377. 20:31nice but typically I mean uh it
  378. 20:35well in this particular scenario
  379. 20:3690% of the cases um when you use a
  380. 20:40like a front end design skill it
  381. 20:42generates a very very good
  382. 20:44right just like
  383. 20:46thank you I'll take a pause if
  384. 20:48have questions But I don't
  385. 20:51cool. Um, hey, so I think so as we
  386. 20:57seen, I think there are two ways to
  387. 20:59front- end applications on cloud.
  388. 21:01you give the prompts directly and
  389. 21:03to generate um using cloud codes
  390. 21:07abilities or you can use a skill
  391. 21:09the front-end visual design skill
  392. 21:11I've used to create more
  393. 21:13pleasing um visual
  394. 21:16Right? So these are some
  395. 21:19that we're going to teach uh in
  396. 21:20cohort coming up cohort. It's
  397. 21:24on um it's starting from
  398. 21:26So hope to see a lot of you
  399. 21:29there. And if you guys have any
  400. 21:31regarding the cohort that is
  401. 21:33up tomorrow uh happy to help you
  402. 21:35happy to answer some of those
  403. 21:50or what's the best way to
  404. 21:52uh best alien in front end using
  405. 21:56or integration is it possible to
  406. 21:59sure one second
  407. 22:06thanks Nish so this question is um
  408. 22:09know basically
  409. 22:11accessibility first development is
  410. 22:14which you know companies want
  411. 22:15do today rather than fixing wrong. So
  412. 22:18it's part of a front- end
  413. 22:20uh is what I understand. So
  414. 22:23do you capture that knowledge that
  415. 22:25you're building a front end uh
  416. 22:27or front end side of the
  417. 22:30make sure that you take care of your
  418. 22:31labels or you know best practices
  419. 22:34accessibility
  420. 22:35do we create a skill around
  421. 22:36or do we need to give um
  422. 22:39to the documentation
  423. 22:42the vak documentation like how does
  424. 22:44work
  425. 22:46that's a great question nichl so
  426. 22:48so this is how the skill looks like
  427. 22:50so we have used highend visual
  428. 22:52skill just now and this it's
  429. 22:56but an instruction set right so
  430. 22:58at what we are telling here I mean
  431. 23:00WCAG guidelines
  432. 23:03and other brand guidelines can also
  433. 23:05in here right so this is talking
  434. 23:07what is the spacing that we should
  435. 23:09what are the margins that should
  436. 23:10used what are the different font
  437. 23:12font colors if I need animations
  438. 23:16kind of animations what are what
  439. 23:17of frame or motions right these are
  440. 23:20which claw typically makes lot of
  441. 23:22So some intelligent UX
  442. 23:24has sort of given it given it a
  443. 23:27detailed instruction, right? Uh in
  444. 23:30same instruction set you can also
  445. 23:31in your uh WCAG A++ ratings,
  446. 23:36brand guidelines and lot of
  447. 23:39over there. So it can pick
  448. 23:41from the skill.
  449. 23:44it. Thank you. And the reason I
  450. 23:46is because you know it's the the
  451. 23:48documentation WCAG documentation is
  452. 23:51thousands of pages.
  453. 23:53can a onepage skill document really
  454. 23:57that? Um is something which is
  455. 24:00I'm not able to digest that like how
  456. 24:02a onepage skill document really
  457. 24:04that?
  458. 24:05that's a good question. So let me
  459. 24:07you.
  460. 24:13been in the last session but we
  461. 24:15about PM maker where um I
  462. 24:19we discussed about this structure.
  463. 24:21second let me go there. Yeah. So a
  464. 24:26uh this is how a typical um
  465. 24:29is structured right you got the
  466. 24:31file which is a single file.
  467. 24:33you you can also include lot of
  468. 24:36files right. Okay what are the
  469. 24:38guides? What are the examples?
  470. 24:40is what are the reference documents
  471. 24:42and these can like you can add lot of
  472. 24:45here lot of MD files over there
  473. 24:47sets and lot of examples so
  474. 24:50claude can follow to the team right
  475. 24:52I don't know I personally haven't
  476. 24:54thousand plus uh sheets or lines
  477. 24:58I mean lines definitely thousand plus
  478. 25:00of instructions I have not tried
  479. 25:03for the PR maker we had four
  480. 25:06folders for each and every
  481. 25:08like Analytics section had one
  482. 25:12example document uh which it had to
  483. 25:14Brand guidelines was one big
  484. 25:16Um then your sequence diagrams
  485. 25:19one big um document with lot of
  486. 25:21So it almost always follows
  487. 25:24same structure. Right? So you can
  488. 25:26give multiple files and claude
  489. 25:29open and load each of them
  490. 25:31It does a good job at
  491. 25:32I'm still not sure about what are
  492. 25:34upper limits or upper caps. uh but I
  493. 25:37definitely tried with 10 to 20
  494. 25:40files uh for the same skill.

Want the next one in your inbox?

Join 1,000+ Product Managers getting one deep dive every Friday.