{
  "markdown": "# Prompt Builder\n\n[![Deploy to GitHub Pages](https://github.com/jjgroenendijk/prompts/actions/workflows/deploy.yml/badge.svg)](https://github.com/jjgroenendijk/prompts/actions/workflows/deploy.yml)\n\n**Live Website:** [https://jjgroenendijk.nl/prompts/](https://jjgroenendijk.nl/prompts/)\n\nA static site to select and combine AI coding rules and prompts. This project is designed to be\nforked and used as your own personal library of prompt rules, hosted for free on GitHub Pages.\n\n## Features\n\n- **Browse Snippets**: Categorized view of coding rules and prompts.\n- **Search**: Full-text search across all snippets.\n- **Combine**: Select multiple snippets to generate a concatenated prompt rule set.\n- **Clipboard**: One-click copy of selected rules.\n- **GitHub Integration**: Edit existing rules or add new ones directly on GitHub.\n- **Dark Mode**: Automatic theme detection.\n\n## How to Use This Template\n\nYou can easily use this repository to host your own library of prompt rules.\n\n### 1. Fork the Repository\n\nClick the **Fork** button at the top right of this page to create your own copy of this\nrepository under your GitHub account.\n\n### 2. Configure Your Site\n\nOpen the `config.yml` file in your forked repository and update the following fields to match\nyour username and repository name:\n\n```yaml\nsite:\n  title: \"My Prompt Rules\" # Your site title\n  baseUrl: \"https://<your-username>.github.io/<repo-name>\"\n\ngithub:\n  owner: \"<your-username>\"\n  repo: \"<repo-name>\"\n```\n\n### 3. Enable GitHub Pages\n\n1. Go to your repository's **Settings**.\n2. Click on **Pages** in the left sidebar.\n3. Under **Build and deployment** > **Source**, select **GitHub Actions** from the dropdown menu.\n4. The project includes a `.github/workflows/deploy.yml` file that will automatically build and\n   deploy your site whenever you push changes to the `main` branch.\n\nOnce deployed, your site will be available by default at:\n`https://<your-username>.github.io/<repo-name>/`\n\n### 4. Add Your Own Snippets\n\n1. Navigate to the `snippets/` directory.\n2. Create new folders for your categories (e.g., `snippets/python`, `snippets/react`).\n3. Add markdown files (`.md`) inside these folders. The filename will become the rule title\n   (e.g., `clean-code.md` -> \"Clean Code\").\n4. Commit and push your changes. The site will automatically rebuild and update.\n\n### 5. Custom Domain (Optional)\n\n1. **Configure DNS**: Follow the official [GitHub Pages\n    documentation](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)\n    to set up your DNS records with your provider.\n2. **GitHub Settings**:\n    - Go to your repository **Settings** > **Pages**.\n    - Under **Custom domain**, enter your domain and click **Save**.\n    - Check \"Enforce HTTPS\".\n3. **Update Config**:\n    - Open `config.yml`.\n    - Update `baseUrl`. If using a custom domain at the root (like `prompts.example.com` or\n        `example.com`), set it to the full URL `https://prompts.example.com`.\n    - *Note:* The build process parses this URL to set the correct base path for your site assets.\n\n## Adding Snippets Details\n\nSnippets are plain Markdown files located in the `snippets/` directory.\n\n- Organize them into subdirectories (Categories).\n- The filename becomes the title (e.g., `input-validation.md` -> \"Input Validation\").\n- No frontmatter is required.\n- To group related categories, name folders with a shared prefix (e.g. `git-commits`,\n  `git-workflow`, `writing-style`, `writing-caveman`). The category comes from the folder name\n  only, so prefixed folders sort and read together in the UI.\n",
  "bytes": 3635,
  "sha": "391c80ec28350531196136f1f1dd9d01d9f02c7c429cc8d2c83ceb249abbe43e",
  "repo_slug": "jjgroenendijk/prompts",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/okf_jjgroenendijk_prompts_snippets_index_md_8234a931/readme"
}