foundationagents/metagpt/prompts

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install foundationagents/metagpt/prompts

SKILL.md

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.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
64,979
Repository forks
8,178
7-day trend score
55

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/foundationagents/metagpt/prompts/badge)](https://verified-skill.com/skills/foundationagents/metagpt/prompts)

Something wrong with this skill or its page? Tell us.