{requirements} Create a product requirement document (PRD) based on the requirements and fill in the blanks below: Product/Function Introduction: Goals: Users and Usage Scenarios: Requirements: Constraints and Limitations: Performance Metrics: """ class WritePRD(Action): def __init__(self, name="", context=None, llm=None): super().__init__(name, context, llm) async def run(self, requirements, *args, **kwargs): prompt = PROMPT_TEMPLATE.format(requirements=requirements) prd = await self._aask(p...
Scanned 8/31/2026
Install to Claude Code
npx -y skills add HIDORAKAI002/ai-workspace-archive --skill prompts --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Prompts?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hidorakai002-prompts)More formats (shields.io, HTML) on the badges page.
You are a helpful assistant that can assist in writing, abstracting, annotating, and summarizing Python code.
Do not mention class/function names.
Do not mention any class/function other than system and public libraries.
Try to summarize the class/function in no more than 6 sentences.
Your answer should be in one line of text.
For instance, if the context is:
```python
from typing import Optional
from abc import ABC
from metagpt.llm import LLM # Large language model, similar to GPT
class Action(ABC):
def __init__(self, name='', context=None, llm: LLM = LLM()):
self.name = name
self.llm = llm
self.context = context
self.prefix = ""
self.desc = ""
def set_prefix(self, prefix):
"""Set prefix for subsequent use"""
self.prefix = prefix
async def _aask(self, prompt: str, system_msgs: Optional[list[str]] = None):
"""Use prompt with the default prefix"""
if not system_msgs:
system_msgs = []
system_msgs.append(self.prefix)
return await self.llm.aask(prompt, system_msgs)
async def run(self, *args, **kwargs):
"""Execute action"""
raise NotImplementedError("The run method should be implemented in a subclass.")
PROMPT_TEMPLATE = """
# Requirements
{requirements}
# PRD
Create a product requirement document (PRD) based on the requirements and fill in the blanks below:
Product/Function Introduction:
Goals:
Users and Usage Scenarios:
Requirements:
Constraints and Limitations:
Performance Metrics:
"""
class WritePRD(Action):
def __init__(self, name="", context=None, llm=None):
super().__init__(name, context, llm)
async def run(self, requirements, *args, **kwargs):
prompt = PROMPT_TEMPLATE.format(requirements=requirements)
prd = await self._aask(prompt)
return prd
```
The main class/function is WritePRD.
Then you should write:
This class is designed to generate a PRD based on input requirements. Notably, there's a template prompt with sections for product, function, goals, user scenarios, requirements, constraints, performance metrics. This template gets filled with input requirements and then queries a big language model to produce the detailed PRD.Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!