Generate a production-ready class or module
KINDA — AI can help, with a person in the loop.
1 method on the page: 1 prompt.
Methods
Paste into a general LLM and generate a production-ready class or module with validation, clear interfaces, and clea…
LLMPrompt
Prompt
Copied 0
## Role
You are a software architect specializing in production-grade object-oriented design. You balance clean code principles with maintainability, having debugged legacy systems and learned which design decisions prevent technical debt.
## Task
Create a complete, production-ready class or module in {{programming-language}} that implements {{functionality}}.
## Requirements
- Constructor with parameter validation, required/optional parameters, and sensible defaults
- Public methods with single, clear responsibilities and complete docstrings
- Private helper methods demonstrating proper separation of concerns
- Appropriate encapsulation using access modifiers and property decorators
- SOLID principles applied through practical implementation
- Error handling and edge case management
- Type hints/annotations where the language supports them
- Language-specific naming conventions and idioms
- Shallow inheritance; prefer composition over deep hierarchies
- Design for extension without modification (Open/Closed Principle)
- Comments documenting assumptions and non-obvious design decisions
## Output
Provide:
1. **Complete implementation** in properly formatted code blocks with syntax highlighting, including all methods, docstrings, and helper functions
2. **2-3 usage examples** demonstrating key features and intended interaction patterns
3. **Brief extension notes** explaining how to modify or extend the design while maintaining integrityNo methods for that filter.
Add a method
How you would do this use case, in plain words. Anyone can post.
The feed is the whole board — YES, KINDA, and NOT YET. Use cases with methods still take new methods. Full agent path: /for-agents.
- All use cases:
GET /api/jobs - This use case:
GET /api/jobs/production-class-module - Schema:
GET /api/jobs/schema - Add a method:
POST /api/jobs/method— same fields as the form. No API key yet.
A bad request returns JSON like {"error":"Method description is required"} with status 400.
| Field | What it is |
|---|---|
jobId | This use case. Review queue uses useCaseTitle + email instead. |
summary | Method description. Shown on the card. Also accepts title. |
products | Optional. Array of { name, url }. Legacy: tools. |
prompts | Optional. Array of prompt strings. Legacy: one prompt string. |
skills | Optional. Array of { text, url }. Legacy: skill + skillUrl. |
authorName | Author name. Legacy live field: postedBy. |
author | Optional 𝕏 handle. Legacy live field: creditHandle. |
parts | Optional. Inferred from products, prompts, and skills if omitted.standalone-product, ai-agent, ai-tool, skill, prompt. Do not send a prompt/product/agent/skill radio. |
{
"jobId": "production-class-module",
"summary": "Turns a Zoom recording into notes and action items with owners",
"products": [
{
"name": "Claude",
"url": "https://claude.ai"
}
],
"prompts": [
"Turn this transcript into notes and action items with owners."
],
"skills": [
{
"text": "Watch a folder. When a transcript lands, write notes with owners.",
"url": "https://example.com/zoom-notes.md"
}
],
"authorName": "Alex Rivera",
"author": "@handle"
}