create_github_prompt
Create and save new prompt templates directly to a GitHub repository for reuse, helping developers build and organize AI prompts systematically while avoiding duplicates.
Instructions
✨ Create New Prompt: Create a new prompt and save it directly to the GitHub repository. 🎯 WORKFLOW: Always use search_prompts first to check if a similar prompt already exists. Only create new prompts when needed to avoid duplicates.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
arguments | No | Template arguments for dynamic content | |
author | No | Author name or handle | |
category | No | Choose from existing categories: "development", "content-creation", "business", "ai-prompts", "devops", "documentation", "project-management". Use list_prompt_categories to see all options. | |
commitMessage | No | Git commit message. Defaults to "Add prompt: [name]" | |
content | Yes | The actual prompt template content. Use {{variable_name}} for dynamic placeholders. Include clear instructions and examples in the prompt. | |
description | Yes | Clear, concise description of what the prompt does and when to use it. Include the main benefits and use cases. | |
difficulty | No | Complexity level of the prompt | |
name | Yes | Unique identifier for the prompt. Use lowercase with underscores. Examples: "code_review_assistant", "api_documentation_generator", "database_design_helper" | |
tags | No | 2-5 relevant tags for discoverability. Examples: ["code-review", "github", "quality"], ["api", "documentation", "openapi"], ["database", "sql", "design"] | |
title | Yes | Human-readable title that clearly explains the prompt's purpose. Examples: "Code Review Assistant for Pull Requests", "API Documentation Generator", "Database Schema Designer" |
Input Schema (JSON Schema)
{
"properties": {
"arguments": {
"description": "Template arguments for dynamic content",
"items": {
"properties": {
"description": {
"description": "What this argument is for",
"type": "string"
},
"name": {
"description": "Argument name (for {{placeholders}})",
"type": "string"
},
"required": {
"description": "Whether this argument is required",
"type": "boolean"
}
},
"required": [
"name",
"description"
],
"type": "object"
},
"type": "array"
},
"author": {
"description": "Author name or handle",
"type": "string"
},
"category": {
"description": "Choose from existing categories: \"development\", \"content-creation\", \"business\", \"ai-prompts\", \"devops\", \"documentation\", \"project-management\". Use list_prompt_categories to see all options.",
"type": "string"
},
"commitMessage": {
"description": "Git commit message. Defaults to \"Add prompt: [name]\"",
"type": "string"
},
"content": {
"description": "The actual prompt template content. Use {{variable_name}} for dynamic placeholders. Include clear instructions and examples in the prompt.",
"type": "string"
},
"description": {
"description": "Clear, concise description of what the prompt does and when to use it. Include the main benefits and use cases.",
"type": "string"
},
"difficulty": {
"description": "Complexity level of the prompt",
"enum": [
"beginner",
"intermediate",
"advanced"
],
"type": "string"
},
"name": {
"description": "Unique identifier for the prompt. Use lowercase with underscores. Examples: \"code_review_assistant\", \"api_documentation_generator\", \"database_design_helper\"",
"type": "string"
},
"tags": {
"description": "2-5 relevant tags for discoverability. Examples: [\"code-review\", \"github\", \"quality\"], [\"api\", \"documentation\", \"openapi\"], [\"database\", \"sql\", \"design\"]",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Human-readable title that clearly explains the prompt's purpose. Examples: \"Code Review Assistant for Pull Requests\", \"API Documentation Generator\", \"Database Schema Designer\"",
"type": "string"
}
},
"required": [
"name",
"title",
"description",
"content"
],
"type": "object"
}