| file_type | prompt | ||||||
|---|---|---|---|---|---|---|---|
| title | Standardised Prompts Directory | ||||||
| description | Reusable prompt library with 113 organization-wide prompts for AI-assisted development workflows | ||||||
| version | 2.0.0 | ||||||
| last_updated | 2026-09-04 | ||||||
| owners |
|
||||||
| tags |
|
||||||
| status | active | ||||||
| stability | stable | ||||||
| domain | generic |
A comprehensive, organization-wide library of 113 production-ready reusable prompts for AI-assisted development tasks. Use these prompts as starting points for common tasksβcustomise as needed for your specific context.
Latest Update: Phase 1 complete with 9 new comprehensive prompts + 71 migrated existing prompts + 33 legacy prompts = 113 total prompts
Active Project: .github/projects/active/reusable-prompts/
Related PR: #2778
# In Copilot Chat, reference a prompt directly:
/prompt-builder.prompt.md
/code-generation.prompt.md
/testing.prompt.md# Copy a prompt template
cp prompts/code-generation.prompt.md my-task.prompt.md
# Edit for your context
vim my-task.prompt.md
# Use with Claude or your AI tool
cat my-task.prompt.md | claudeAll prompt files follow the standardized naming pattern:
*.prompt.md
This allows dynamic referencing and automatic discovery across tools and workflows.
Nine new production-ready prompts created for common AI-assisted development workflows. Each includes comprehensive documentation, workflow examples, and integration guidance.
| # | Prompt | Purpose | Effort | Workflows | Documentation |
|---|---|---|---|---|---|
| 1 | prompt-builder.prompt.md | Build, test, and iterate on custom prompts | 45 min | Copilot Chat, IDE | Complete with examples |
| 2 | code-generation.prompt.md | Generate code stubs and implementations | 30 min | GitHub Actions, Copilot | Scaffolding templates |
| 3 | documentation-writer.prompt.md | Auto-generate user-facing documentation | 40 min | CI/CD pipeline, Manual | API docs, guides, tutorials |
| 4 | refactoring.prompt.md | Analyze and refactor code for consistency | 35 min | Pre-commit, CI pipeline | Quality metrics included |
| 5 | testing.prompt.md | Generate unit and integration tests | 45 min | GitHub Actions, IDE | Test patterns, frameworks |
| 6 | conventional-commit.prompt.md | Format commits following Conventional Commits | 20 min | Git hooks, CLI | Standards reference |
| 7 | create-specification.prompt.md | Create detailed technical specifications | 50 min | Manual, Copilot Chat | Requirements templates |
| 8 | debugging.prompt.md | Troubleshoot and analyze runtime errors | 35 min | IDE, Copilot Chat | Error catalogs |
| 9 | create-implementation-plan.prompt.md | Break features into actionable tasks | 40 min | Planning workflow, Manual | Task breakdown templates |
Total: 9 prompts, 340 minutes effort, comprehensive documentation and workflow integrations
See Also: PROMPTS-V1-INDEX.md for detailed workflows and implementation guides
Organization-wide Prompts:
- Location:
prompts/(root folder) β canonical for organisation-wide reusable prompts - Naming: All files follow
*.prompt.mdconvention - Total: 113 prompts (9 new + 71 migrated + 33 legacy)
.github Repository Governance Prompts:
- Location:
.github/prompts/β reserved for.githubcontrol-plane and repository-governance specific prompts - Purpose: Repository-specific governance, PR templates, issue automation
- Status: Maintained separately, with redirects to canonical root location
Migration Authority:
- Active Project: .github/projects/active/reusable-prompts/
- Migration Report: .github/reports/prompt-migration-2026-09-04.md
- Phase 1 Complete: 2026-09-04
The library contains 113 prompts organized in the following categories:
- prompt-builder.prompt.md β NEW β Build and iterate on custom prompts
- code-generation.prompt.md β NEW β Code implementation and scaffolding
- documentation-writer.prompt.md β NEW β Auto-generate documentation
- refactoring.prompt.md β NEW β Code refactoring and optimisation
- testing.prompt.md β NEW β Test generation and coverage
- conventional-commit.prompt.md β NEW β Commit message formatting
- create-specification.prompt.md β NEW β Technical specification creation
- debugging.prompt.md β NEW β Error diagnosis and resolution
- create-implementation-plan.prompt.md β NEW β Feature breakdown and planning
- code-review.prompt.md β Comprehensive code review
- accessibility-review.prompt.md β WCAG compliance audit
- security-review.prompt.md β Security vulnerability analysis
- performance-review.prompt.md β Performance optimization review
- architecture-review.prompt.md β Architecture and design review
- linting-review.prompt.md β Code style and linting issues
- test-coverage-analysis.prompt.md β Test coverage assessment
- dependency-audit.prompt.md β Dependency security audit
- api-review.prompt.md β API design and consistency
- documentation-review.prompt.md β Documentation quality review
- type-safety-review.prompt.md β Type system compliance
- browser-compatibility-review.prompt.md β Cross-browser testing
- documentation.prompt.md β User documentation creation
- api-documentation.prompt.md β API documentation generation
- changelog.prompt.md β Changelog creation and updates
- readme-blueprint.prompt.md β README template and generation
- inline-documentation.prompt.md β JSDoc/PHPDoc inline docs
- update-frontmatter.prompt.md β Front matter migration and validation
- architecture-documentation.prompt.md β Architecture decision records
- user-guide-creation.prompt.md β End-user guides
- troubleshooting-guide.prompt.md β Troubleshooting documentation
- migration-guide.prompt.md β Migration and upgrade guides
- schema-documentation.prompt.md β Data schema documentation
- api-spec-creation.prompt.md β OpenAPI/REST specifications
- code-walkthrough.prompt.md β Code explanation and walkthroughs
- training-material.prompt.md β Training and onboarding materials
- release-notes.prompt.md β Release notes and announcements
- unit-test-generation.prompt.md β Unit test creation
- integration-test-generation.prompt.md β Integration test creation
- e2e-test-generation.prompt.md β End-to-end test creation
- test-plan-creation.prompt.md β Test plan development
- qa-checklist-creation.prompt.md β QA checklist generation
- regression-test-analysis.prompt.md β Regression test identification
- performance-testing.prompt.md β Performance test design
- load-testing.prompt.md β Load and stress testing
- security-testing.prompt.md β Security test scenarios
- test-case-generation.prompt.md β Test case creation
- mock-data-generation.prompt.md β Mock data creation
- fixture-generation.prompt.md β Test fixture generation
- test-debugging.prompt.md β Test failure analysis
- coverage-improvement.prompt.md β Test coverage enhancement
- acceptance-criteria-validation.prompt.md β AC verification
- bug-reproduction.prompt.md β Bug reproduction steps
- compatibility-testing.prompt.md β Cross-platform testing
- test-automation-setup.prompt.md β Automation framework setup
- architecture-blueprint.prompt.md β System architecture design
- design-pattern-selection.prompt.md β Design pattern recommendation
- data-model-design.prompt.md β Data model creation
- database-schema-design.prompt.md β Database schema design
- api-design.prompt.md β RESTful API design
- microservices-design.prompt.md β Microservices architecture
- component-architecture.prompt.md β Component hierarchy design
- folder-structure-blueprint.prompt.md β Project structure design
- error-handling-design.prompt.md β Error handling architecture
- security-architecture.prompt.md β Security design patterns
- scalability-design.prompt.md β Scalability architecture
- dependency-injection-design.prompt.md β DI pattern design
- caching-strategy.prompt.md β Caching architecture
- event-driven-architecture.prompt.md β Event-driven design
- workflow-design.prompt.md β Workflow orchestration design
- integration-design.prompt.md β System integration patterns
- agent-setup.prompt.md β Agent context and configuration
- agentic-workflow-design.prompt.md β Agent workflow creation
- prompt-engineering.prompt.md β Prompt optimization
- model-selection.prompt.md β LLM model selection
- automation-workflow.prompt.md β Automation pipeline design
- github-actions-workflow.prompt.md β GitHub Actions creation
- ci-cd-pipeline.prompt.md β CI/CD pipeline design
- webhook-integration.prompt.md β Webhook setup and integration
- api-client-generation.prompt.md β SDK/client generation
- data-pipeline-design.prompt.md β Data processing pipeline
- monitoring-observability.prompt.md β Monitoring and observability
- project-planning.prompt.md β Project planning
- roadmap-creation.prompt.md β Product roadmap
- sprint-planning.prompt.md β Sprint planning
- requirements-gathering.prompt.md β Requirements analysis
- user-story-creation.prompt.md β User story writing
- epic-breakdown.prompt.md β Epic decomposition
- task-estimation.prompt.md β Effort estimation
- dependency-mapping.prompt.md β Dependency analysis
- risk-analysis.prompt.md β Risk identification
- retrospective-analysis.prompt.md β Retrospective analysis
- meeting-notes-summary.prompt.md β Meeting summarization
- stakeholder-communication.prompt.md β Stakeholder updates
- decision-documentation.prompt.md β Decision logging
- wordpress-plugin-development.prompt.md β Plugin development
- wordpress-block-development.prompt.md β Block development
- wordpress-theme-development.prompt.md β Theme development
- wordpress-custom-post-type.prompt.md β CPT creation
- wordpress-hooks-filters.prompt.md β Hooks/Filters guide
- wordpress-security-hardening.prompt.md β Security best practices
- wordpress-performance-optimization.prompt.md β Performance tuning
- wordpress-multisite-setup.prompt.md β Multisite configuration
- wordpress-admin-customization.prompt.md β Admin interface
- wordpress-rest-api.prompt.md β REST API development
- wordpress-woocommerce-integration.prompt.md β WooCommerce setup
β See complete categorized list in PROMPTS-V1-INDEX.md
For governance, automation, and repository management, these prompts are critical:
| Prompt | Purpose | Priority | Use Case |
|---|---|---|---|
| code-review.prompt.md | PR review standards enforcement | HIGH | Automated PR reviews |
| conventional-commit.prompt.md | Commit message validation | HIGH | CI/CD commit verification |
| github-actions-workflow.prompt.md | Workflow creation | HIGH | New workflow automation |
| create-specification.prompt.md | Issue specification | HIGH | GitHub issue creation |
| accessibility-review.prompt.md | A11Y audit | MEDIUM | Component review |
| security-review.prompt.md | Security audit | HIGH | Dependency/code audit |
| documentation-writer.prompt.md | README/docs generation | MEDIUM | Repository documentation |
| changelog.prompt.md | Release notes | MEDIUM | Release automation |
| test-case-generation.prompt.md | Workflow testing | MEDIUM | CI/CD test creation |
| agentic-workflow-design.prompt.md | Agent design | MEDIUM | New agent creation |
Common prompt templates for quick-start projects are available in prompts/templates/:
prompts/templates/
βββ README.md # Templates documentation
βββ agent-template.prompt.md
βββ workflow-template.prompt.md
βββ automation-template.prompt.md
βββ ...
Use templates to bootstrap new prompts quickly while maintaining consistency.
Each prompt is designed to be:
- Customisable: Adapt sections to your project context
- Focused: Addresses a specific task or workflow stage
- Documented: Includes structure, examples, and acceptance criteria
# Copy the template
cp prompts/code-generation.prompt.md my-task.prompt.md
# Edit for your context
# Add project-specific details, file paths, acceptance criteria
vim my-task.prompt.md
# Use with Claude or your AI tool
cat my-task.prompt.md | claude --load-prompt -- name: Generate Tests with Prompt
env:
PROMPT_FILE: prompts/testing.prompt.md
run: |
cat $PROMPT_FILE | claude --load-prompt - > tests/generated.test.jsAll prompts follow a consistent structure:
- Frontmatter β Metadata (title, description, tags, etc.)
- Context β Project, scope, and relevant background
- Task β Clear, specific objective
- Constraints β Limitations, standards, or requirements
- Acceptance Criteria β Definition of done
- Examples β Real examples and use cases
- References β Links to relevant docs, files, or standards
To add or improve prompts:
- Follow the standard structure above
- Use UK English and clear, concise language
- Include real examples where helpful
- Document any dependencies or prerequisites
- Add metadata: title, description, tags, owners
- Create a PR with rationale for the new prompt
See Also: CONTRIBUTING.md for detailed guidelines
Phase 1 Migration Complete (2026-09-04):
- 71 prompts migrated from
.github/prompts/to rootprompts/ - All files follow
*.prompt.mdnaming convention - Git history preserved (using
git mv) - Redirect notices in
.github/prompts/point to canonical location
Legacy Prompts:
- 33 legacy prompts available for backwards compatibility
- All legacy files include deprecation notices with successor guidance
- New work should use canonical root
prompts/location
Migration Report: .github/reports/prompt-migration-2026-09-04.md
- β¬ Prompt enhancements & specializations (security, performance, linting)
- β¬ Automation workflows (GitHub Actions, CI/CD integration)
- β¬ Versioning & compatibility framework
- β¬ Usage analytics & tracking
- β¬ Prompt discovery & search interface
See: .github/projects/active/reusable-prompts/ for detailed Phase 2 planning
πΌ Orchestrated automation β where intelligence meets operations
Related:
This page brought to you by the π¦ Magic Automation Unicorns of LightSpeedWP. Automation Docs