Skip to content

About

Searchable, category-based collection of prompts for generative AI, creativity, Microsoft 365, and security.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation


P   R   O   M   P   T     L   I   B   R   A   R   Y

React 19 TypeScript 6 Vite 8


Prompt Library is a curated collection of generative AI prompt templates for productivity, creativity, Microsoft 365, and security work. Prompts are searchable and grouped by category, so you can quickly find, review, and copy one for the task at hand.

Features

  • Search: filter by keyword, category, tag or prompt text as you type. / jumps to the search field.
  • Categories: colour-coded filters; the colours follow the families used on Favorite Skills and the AI Hub (security coral, Microsoft 365 blue, thinking lilac, writing gold, creativity pink, research and automation green). Mapping in src/categories.ts.
  • One-click copy: copy a prompt and paste it straight into your AI tool.
  • Detail view: a dialog with the full prompt, tags and a link to its source file. #<prompt-id> opens a prompt directly.
  • AI Hub look: the same Personal UI and card material as simonhakansson.com and Favorite Skills: tilt, spotlight, dithered pixel field and scrambled title on hover, with a dithered tide behind the grid (src/effects.ts, src/site.css).

Prompt categories

The library holds about 50 prompts in these categories:

Category Focus
Security Cybersecurity research, architecture, threat intelligence, and identity
Microsoft 365 Microsoft 365 tools, services, and administration
Cognitive Fitness Prompts that keep you thinking instead of deferring to the AI: debriefs, critique, and conceptual inquiry
Creativity Creative thinking and writing
Automation Codex automation prompts for scheduled cybersecurity, threat intelligence, and AI reports
Analysis Extracting insights, detecting fallacies and bias, and Socratic questioning
Compliance Regulatory frameworks such as DORA and the EU AI Act
Strategy Business roadmaps, project planning, and stress-testing plans
Generative AI AI industry newsletters
Writing General writing help
Research Market research

Stack

React 19, TypeScript and Vite, with plain CSS on Personal UI (src/personal.css, shared unchanged with AI Hub). Tests run on Vitest with jsdom.

Development

npm install
npm run dev      # start the dev server
npm test         # run the tests
npm run build    # type-check and build to dist/
npm run preview  # serve the production build

Adding a prompt

Each prompt is a JSON file in src/prompts/. Files are picked up automatically through import.meta.glob and load as one chunk after the page. A new category also needs a colour in src/categories.ts; a test fails until it has one.

{
  "id": "my-prompt",
  "title": "My Prompt",
  "description": "What the prompt does.",
  "category": "Security",
  "tags": ["example"],
  "content": "The prompt text.",
  "createdAt": "2026-10-22T00:00:00Z"
}

License

MIT

About

Searchable, category-based collection of prompts for generative AI, creativity, Microsoft 365, and security.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages