{"componentChunkName":"component---src-templates-blog-post-jsx","path":"/blog/enhancing-chatgpt-responses-with-fabric-ai-prompts/","result":{"data":{"site":{"siteMetadata":{"name":"Huzaifa Rasheed","title":"Huzaifa Rasheed","description":"Software Engineer","about":"\n      Hey, I'm Huzaifa.\n      <br/><br/>\n      Engineer by trade, builder by instinct - I believe in owning my stack, shipping fast, and occasionally running on chai (tea) and stubbornness. I work best in that sweet spot between deep focus and fast feedback - solo or in sync with a good team.\n      <br/><br/>\n      This site's my little corner of the internet - part portfolio, part lab - where I document what I build, break, or learn.\n      <br/><br/>\n      Outside work, I'm into long walks, pixel-perfect headshots in FPS games (eventually... maybe), plants I probably overwater, and the occasional \"classified\" hobby to stay curious.\n      <br/><br/>\n      Reach out anytime - my digital door's always open. 👋\n    ","twitter":"https://twitter.com/huzRasheed","github":"https://github.com/huzaifa-99","linkedin":"https://www.linkedin.com/in/huzaifa-rasheed/","devto":"https://dev.to/huzaifa99","stackoverflow":"https://stackoverflow.com/users/12579290/huzaifa","leetcode":"https://leetcode.com/rhuzaifa","discord":"https://discordapp.com/users/rhuzaifa","email":"dev@rhuzaifa.com","projects":[{"name":"FFMpeg Web","description":"An experimental browser-based terminal that runs FFmpeg using WebAssembly, enabling media processing directly in the browser.","link":"https://ffmpeg-web.rhuzaifa.com/","github":"https://github.com/huzaifa-99/ffmpeg-web"},{"name":"Feed base 2","description":"A mini browser game where players manipulate 4-bit binary blocks to match target BCD values - part puzzle, part binary logic trainer.","link":"https://feedbase2.rhuzaifa.com/","github":"https://github.com/huzaifa-99/feed-base-2"},{"name":"Fabric browser extension","description":"A Chrome extension that injects engineered Fabric prompts directly into the ChatGPT interface for enhanced workflow automation.","link":"https://github.com/huzaifa-99/fabric-browser-extension","github":"https://github.com/huzaifa-99/fabric-browser-extension"},{"name":"Pure Cinema","description":"An experimental, tongue-in-cheek text-to-video generator that stitches together footage, synthesized voiceovers, and background music with a Node.js + ffmpeg pipeline. Not quite Hollywood, but it renders.","link":"https://cinema.rhuzaifa.com","github":null},{"name":"Aria2c Packload","description":"A Bash script for bulk downloading magnet links or torrents using aria2c - optimized for series or list-based transfers.","link":"https://github.com/huzaifa-99/aria2c-packload","github":"https://github.com/huzaifa-99/aria2c-packload"},{"name":"RSS Watchdog","description":"A lightweight Bash script that watches RSS/Atom feeds and compiles a Markdown-based reading checklist for Unix systems.","link":"https://github.com/huzaifa-99/rss-watchdog","github":"https://github.com/huzaifa-99/rss-watchdog"},{"name":"QuoteGen","description":"A quote graphic generator that produces stylized quote images with random selection and a built-in editor for customization.","link":"https://quotegen.rhuzaifa.com/","github":null},{"name":"WebRTC Video Chat","description":"A basic WebRTC-powered app enabling peer-to-peer video and audio calls between two users.","link":"https://webrtc-video-chat.rhuzaifa.com/","github":null}],"experience":null,"skills":[{"name":"Languages & Frameworks","description":"JavaScript, TypeScript, Python, Bash - Frameworks include Node.js, React, Next.js, Vue, React Native, FastAPI."},{"name":"Databases & Storage","description":"PostgreSQL, MySQL, MongoDB - Experience with schema design, indexing, query optimization, and migrations."},{"name":"Cloud & Infrastructure","description":"AWS (EC2, RDS, S3, Lambda), Vercel, Netlify, Heroku - Comfortable with serverless, autoscaling, and cost optimization."},{"name":"DevOps & Tooling","description":"Docker, Git, CI/CD pipelines (GitHub Actions, GitLab CI) - Experience with observability, containerization, and release workflows."},{"name":"Testing & QA Automation","description":"Jest, Playwright, Puppeteer, Selenium - Focus on E2E testing, mocking APIs, and maintaining test coverage."}]}},"markdownRemark":{"id":"a1368d90-16ff-56da-99a8-0be3c00614b1","excerpt":"I was constantly reusing prompt patterns from Fabric while chatting with ChatGPT. But every time, I had to: Search the Fabric repo   Copy a pattern   Paste it…","html":"<p>I was constantly reusing prompt patterns from <a href=\"https://github.com/danielmiessler/fabric\">Fabric</a> while chatting with ChatGPT. But every time, I had to:</p>\n<ul>\n<li>Search the Fabric repo  </li>\n<li>Copy a pattern  </li>\n<li>Paste it into ChatGPT  </li>\n<li>Add my custom input  </li>\n</ul>\n<p>Too much friction for something I did daily.</p>\n<p>There are tools like <a href=\"https://chromewebstore.google.com/detail/ojnbohmppadfgpejeebfnmnknjdlckgj\">AIPRM</a> that solve this problem - but they’re not open-source. I wanted something lighter, more transparent, and built specifically around <strong>Fabric patterns</strong>.</p>\n<p>So I made my own Chrome extension.<br>\n(I have this weird habit of building my own “X” 😅)</p>\n<hr>\n<h2>Wait - What’s Fabric?</h2>\n<p><a href=\"https://github.com/danielmiessler/fabric\">Fabric</a> is an open-source project focused on ”<em>augmenting human intelligence using AI tools</em>“.</p>\n<p>Its best feature (IMO) is a large library of engineered prompt templates - called “patterns” - that help LLMs like ChatGPT generate clearer, more consistent results.</p>\n<p>Think of it as <strong>curated prompt engineering</strong>, so you don’t have to craft prompts yourself.</p>\n<p>Browse them here → <a href=\"https://github.com/danielmiessler/fabric/tree/main/patterns\">Fabric Patterns</a></p>\n<hr>\n<h2>What the Extension Does</h2>\n<p>The <a href=\"https://github.com/huzaifa-99/fabric-browser-extension\">extension</a> brings Fabric patterns directly into ChatGPT.</p>\n<p>Once installed, it adds a small <strong>Ƒ</strong> button to ChatGPT’s input bar:</p>\n<span class=\"gatsby-resp-image-wrapper\" style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; margin: 0 0 30px;\">\n      <a class=\"gatsby-resp-image-link\" href=\"/static/d188507f81e848232df27c1dde3ae9a3/5d6a0/fabric-button.png\" style=\"display: block\" target=\"_blank\" rel=\"noopener\">\n    <span class=\"gatsby-resp-image-background-image\" style=\"padding-bottom: 33.78378378378378%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAHCAYAAAAIy204AAAACXBIWXMAABYlAAAWJQFJUiTwAAAA0ElEQVQoz52QWQrEQAhEc/9z5Cg5RghkJ5AVsm8Oz8HQDPkaQezWsiz19n2X4zjkvm95M/LXdQk4c/Bu3XUvSRIpikLmeZZ1XWVZlieSA7Rtm8RxLFmWqYMnB+Y8z4eMwZ5LQtFVggNCEQTuIN7U6TFXQiajsmkaBbytTnOe55KmqSqsqkqJbWUzJTRmyFDhTvydjhuBKeff971M0/S94TiO+iHS+I/5vi9BEOjbg4ybDMMgbdvq6sSu6zQyvSxLPYvl6rqWKIokDEPN0Y8g4gdpix/6Flyc0AAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"></span>\n  <img class=\"gatsby-resp-image-image\" alt=\"Fabric button image\" title=\"Fabric button image\" src=\"/static/d188507f81e848232df27c1dde3ae9a3/fcda8/fabric-button.png\" srcset=\"/static/d188507f81e848232df27c1dde3ae9a3/12f09/fabric-button.png 148w,\n/static/d188507f81e848232df27c1dde3ae9a3/e4a3f/fabric-button.png 295w,\n/static/d188507f81e848232df27c1dde3ae9a3/fcda8/fabric-button.png 590w,\n/static/d188507f81e848232df27c1dde3ae9a3/efc66/fabric-button.png 885w,\n/static/d188507f81e848232df27c1dde3ae9a3/c83ae/fabric-button.png 1180w,\n/static/d188507f81e848232df27c1dde3ae9a3/5d6a0/fabric-button.png 1580w\" sizes=\"(max-width: 590px) 100vw, 590px\" style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\" loading=\"lazy\">\n  </a>\n    </span>\n<p>Click it to open the settings modal:</p>\n<span class=\"gatsby-resp-image-wrapper\" style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; margin: 0 0 30px;\">\n      <a class=\"gatsby-resp-image-link\" href=\"/static/aac7763093f54e8325696efc54a46805/64d87/fabric-settings-modal.png\" style=\"display: block\" target=\"_blank\" rel=\"noopener\">\n    <span class=\"gatsby-resp-image-background-image\" style=\"padding-bottom: 89.1891891891892%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAACXBIWXMAABYlAAAWJQFJUiTwAAABpElEQVQ4y5VT266CMBDs//+VD8YHHz0YfREOJiSCICoXuXXPztoiYuKBTSYtpZ3OTnfV8Xikoijofr8L8jyngpFlGV2v12lIUzkHLhWFIa3Xa1oul+Q4jozAfr+nOQHClInV+XymkEmDIBBVZVnKz8fjQVrrSei6jtq2pTiOSSVJIjdgkf++rjQb9QTIWQ5wKbBa/263m4xPvmnqEMgGWcWcba+wbRqR3TFk80R1nwqZFexQZ18Wox6m/0/A/8Ph8O5hwwpxU1PXMp+aMoD9VVUJsXhYMwlU5qwMKc/xEFgsFrTdbik8nV6EKG5AGz/mEK5WK9rtds+ULybl9HKRF0bV49WEFKZ/e+GRz8nQQ7RbaVT2Hn55Weyp2Tdkh2bA+FY2cwOVEEWRpIn2/ahDPEZnakqb164NoAZ12gy++3QHBS51aD0cVz/qEj2OTWh6WAE16P2PbhoWNg7ZOkSntMYbmTN6lVYx/2uMWrtHFHPAAoXbx1GZQyCwc3gE8zMesQaMA12mfjYb+vU8aR3XwHNdcg28wSjgvXYN53zfl7OYb5jrD/e+d3ctx64aAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"></span>\n  <img class=\"gatsby-resp-image-image\" alt=\"Fabric settings modal\" title=\"Fabric settings modal\" src=\"/static/aac7763093f54e8325696efc54a46805/fcda8/fabric-settings-modal.png\" srcset=\"/static/aac7763093f54e8325696efc54a46805/12f09/fabric-settings-modal.png 148w,\n/static/aac7763093f54e8325696efc54a46805/e4a3f/fabric-settings-modal.png 295w,\n/static/aac7763093f54e8325696efc54a46805/fcda8/fabric-settings-modal.png 590w,\n/static/aac7763093f54e8325696efc54a46805/64d87/fabric-settings-modal.png 818w\" sizes=\"(max-width: 590px) 100vw, 590px\" style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\" loading=\"lazy\">\n  </a>\n    </span>\n<p>From here, you can:</p>\n<ul>\n<li>Pick your active pattern  </li>\n<li>Customize how prompts are injected  </li>\n<li>Preview everything in plain text - no magic or guesswork  </li>\n</ul>\n<p>Once you’ve selected a pattern, just type your message like normal. The extension wraps your message in the pattern before sending it to ChatGPT.</p>\n<p>Here’s it in action:</p>\n<p><video src=\"/4827d9e97fd03bd7eebdca3ce63757a8/demo.mp4\" controls></video></p>\n<p>It basically acts like a prompt wrapper - injecting the pattern around your input, so you don’t have to copy-paste every time.</p>\n<hr>\n<p>Here are a few patterns I use regularly:</p>\n<ul>\n<li><a href=\"https://github.com/danielmiessler/fabric/blob/b672abba8864c5d0711a7d1d83891492f31c27f2/patterns/create_5_sentence_summary/system.md\"><code class=\"language-text\">create_5_sentence_summary</code></a> - gives me clean, bullet-point summaries of long articles</li>\n<li><a href=\"https://github.com/danielmiessler/fabric/blob/b672abba8864c5d0711a7d1d83891492f31c27f2/patterns/explain_project/system.md\"><code class=\"language-text\">explain_project</code></a> - great for breaking down technical concepts</li>\n</ul>\n<p>You can use any of Fabric’s patterns the same way - just pick the one you want from the extension menu, and it’ll handle the rest.</p>\n<h2>How to Install</h2>\n<p>To use it:</p>\n<ol>\n<li>Clone or download the <a href=\"https://github.com/huzaifa-99/fabric-browser-extension\">fabric-browser-extension</a> repo</li>\n<li>Open Chrome and go to <code class=\"language-text\">chrome://extensions/</code></li>\n<li>Enable <strong>Developer Mode</strong> (top-right toggle)</li>\n<li>Click <strong>Load unpacked</strong> and select the extension folder</li>\n<li>Head to ChatGPT - you’ll see the Ƒ button</li>\n</ol>\n<p>That’s it. No config files, API keys, or logins needed.</p>\n<hr>\n<p>This made my ChatGPT workflow way smoother - and I hope it helps you too.</p>\n<p>If you find it useful or have ideas to improve it, feel free to <a href=\"https://github.com/huzaifa-99/fabric-browser-extension\">open an issue or contribute</a>.</p>\n<p>Enjoy!</p>","frontmatter":{"title":"Enhancing ChatGPT Responses with Fabric's AI Prompts","date":"June 23, 2024","description":"A guide on how to use engineered prompts from Fabric directly in the ChatGPT web interface"}}},"pageContext":{"slug":"/blog/enhancing-chatgpt-responses-with-fabric-ai-prompts/","previous":{"fields":{"slug":"/blog/using-aria2c-to-automate-batch-downloads/"},"frontmatter":{"title":"Using aria2c To Automate Batch Downloads"}},"next":{"fields":{"slug":"/blog/aggregating-rss-feeds-locally-with-a-simple-bash-script/"},"frontmatter":{"title":"Aggregating RSS Feeds Locally with a Simple Bash Script"}}}},"staticQueryHashes":["2276319502"]}