Parameters
{
"name": "Command Extraction Prompt",
"description": "Template for the input prompt to guide LLM in processing repository documentation.",
"template": {
"instructions": "Analyze the provided repository documentation and extract all commands mentioned within it. For each command, provide a description of its purpose and assign relevant tags for categorization.",
"output_format": {
"commands": [
{
"command": "string",
"description": "string",
"tags": ["string"]
}
]
},
"example_input": "Documentation content here...",
"example_output": {
"commands": [
{
"command": "pnpm install",
"description": "Install project dependencies.",
"tags": ["setup", "dependencies"]
},
{
"command": "pnpm run dev",
"description": "Start the development server.",
"tags": ["run", "development"]
},
{
"command": "git pull",
"description": "Pull the latest changes from the repository.",
"tags": ["update", "git"]
}
]
}
},
"notes": [
"Ensure the prompt is clear and concise to guide the LLM effectively.",
"The output format should match the structure defined in the output instruction JSON.",
"Provide an example input and output to clarify expectations."
]
}{
"name": "Command Extraction Output",
"description": "Generate a structured list of commands with descriptions and tags based on repository documentation.",
"structure": {
"commands": [
{
"command": "string",
"description": "string",
"tags": [
"string"
]
}
]
},
"examples": [
{
"commands": [
{
"command": "pnpm install",
"description": "Install project dependencies.",
"tags": [
"setup",
"dependencies"
]
},
{
"command": "pnpm run dev",
"description": "Start the development server.",
"tags": [
"run",
"development"
]
},
{
"command": "git pull",
"description": "Pull the latest changes from the repository.",
"tags": [
"update",
"git"
]
}
]
}
],
"notes": [
"Each command should include a clear description of its purpose.",
"Tags should be relevant and help categorize the commands for easy searching.",
"Ensure the output format strictly adheres to the defined structure."
]
}