pudo-code-system

PUDO Prompt Library

A collection of 21 ready-to-use prompts organized by PUDO phase and domain skills. Copy, customize, and paste into any AI assistant.

Note: Each directory contains its own README.md with detailed instructions on how to modify and use the prompts for your specific needs.


How to Use

  1. Find the right prompt — Browse by phase below, or search by tag
  2. Copy the prompt — Each file contains a ready-to-use prompt template
  3. Fill in the `` — Replace placeholders with your project-specific details
  4. Paste into your AI assistant — Works with ChatGPT, Claude, Gemini, Copilot, etc.
  5. Iterate — Use the output as a starting point, refine as needed

Prompt Index

Plan Phase

Prompt Use When Tags
Scope Definition Starting a new task or feature #scoping #greenfield #requirements
Architecture Draft Designing system structure #architecture #design #system
Database Schema Designing a new database schema #database #schema #planning
API Contract Designing REST/GraphQL/gRPC APIs #api #rest #graphql #planning
Security Threat Model Planning secure architecture & mitigation #security #threat-model #risk
Risk Assessment Identifying what could go wrong #risk #planning #premortem

Understand Phase

Prompt Use When Tags
Codebase Analysis Exploring an unfamiliar codebase #analysis #exploration #onboarding
Dependency Audit Checking what your code depends on #dependencies #security #audit
Pattern Recognition Learning codebase conventions #patterns #conventions #consistency
Crash Log Analysis Debugging stack traces and error logs #debugging #crash #logs

Develop Phase

Prompt Use When Tags
Feature Implementation Building a planned feature #implementation #coding #feature
Test-Driven Dev Writing tests alongside code #testing #tdd #quality
Component Scaffold Creating new components/modules #scaffold #component #boilerplate
Integration Test Suite Testing DBs/APIs interactions #testing #integration
E2E Test Suite Writing browser automation tests #testing #e2e #automation

Optimize Phase

Prompt Use When Tags
Performance Review Profiling and improving speed #performance #profiling #speed
Memory Profiling Debugging RAM leaks and GC issues #debugging #memory #latency
Network Troubleshooting Debugging 5xx errors and timeouts #debugging #network #cloud
Code Review Checklist Reviewing code quality #review #quality #checklist
Refactor Opportunities Cleaning up existing code #refactor #cleanup #maintainability

Domain Skills

Skills are specialized templates that apply domain knowledge to any phase.

Prompt Use When Tags
Software Engineering Writing robust frontend/backend code #coding #javascript #python #java
Troubleshooting & Debugging Diagnosing crashes, memory leaks #debugging #sre #diagnostics
DevOps Engineering Writing IaC, CI/CD, or deployment config #devops #infrastructure #automation
Architecture & Planning Threat modeling, DB models #planning #architecture #design
Test Engineering TDD, E2E tests, Mocking #test #qa #automation

Prompt Format

Every prompt follows a consistent structure:

# [Prompt Name]
> Phase, Tags, AI Model compatibility

## Context        — When to use this prompt
## Variables      — Placeholders you need to fill in
## Prompt         — The actual prompt text
## Example Usage  — A concrete input/output pair

Contributing

Have a prompt that’s been useful in your PUDO workflow? Submit a PR! Follow the template above for consistency.