home/coding/generic-prompts

Generic Prompts

GPTClaudeDeepSeek··1,285 copies·updated 2026-07-14
generic-prompts.prompt
# Date: 27/05/2026 
# Update to the Repo using the following prompt:User Prompt: Repository Analysis and AI-Context Generation

Audit, analyze, and deeply understand this repository end-to-end.

Your objectives are:

1. Build a complete mental model of:

* architecture
* modules and dependencies
* coding patterns
* build/deployment flow
* infrastructure
* testing strategy
* developer workflows
* conventions and standards
* technical debt and risks

2. Produce AI-assistance context files that optimize future interactions with coding agents such as Claude Code and GitHub Copilot.

Create and maintain files such as:

* CLAUDE.md
* AGENT.md
* ARCHITECTURE.md
* CONTRIBUTING_AI.md
* REPOSITORY_MAP.md
* DEVELOPMENT_WORKFLOW.md

These files should:

* minimize unnecessary token usage
* reduce repeated repository analysis
* accelerate onboarding
* document implicit conventions
* explain critical architectural decisions
* identify dangerous areas and invariants
* define coding standards and patterns
* explain build/test/deployment commands
* include dependency relationships
* include debugging guidance
* explain CI/CD workflows
* describe domain terminology and business logic
* help AI agents make safe modifications with minimal hallucination

Requirements:

* Use state-of-the-art best practices for AI-agent-ready repositories.
* Prefer concise, high-signal documentation over verbose explanations.
* Avoid duplicating information already present in the repository.
* Infer conventions from the existing codebase when possible.
* Clearly separate facts from assumptions.
* Flag unclear or missing areas requiring human clarification.
* Produce deterministic and maintainable outputs.
* Optimize all generated files for long-term repository maintenance and AI-assisted development workflows.

At the end:

* summarize repository architecture
* list major risks and technical debt
* propose improvements for AI-assisted maintainability
* identify missing documentation and missing tests
* provide a prioritized action plan

when to use it

Community prompt sourced from the open-source GitHub repo kunalsuri/prompt-engineering-playbook (MIT). A "Generic Prompts" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

kunalsuri/prompt-engineering-playbook · MIT