Initial commit
This commit is contained in:
59
skills/web-to-github-issue/assets/config_template.json
Normal file
59
skills/web-to-github-issue/assets/config_template.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"_comment": "Configuration template for the web-to-github-issue plugin.",
|
||||
"plugin_name": "web-to-github-issue",
|
||||
"github": {
|
||||
"_comment": "GitHub API settings",
|
||||
"api_url": "https://api.github.com",
|
||||
"owner": "your-github-username",
|
||||
"repo": "your-github-repo",
|
||||
"api_token": "YOUR_GITHUB_API_TOKEN",
|
||||
"_comment": "Token with 'repo' scope is required.",
|
||||
"default_labels": [
|
||||
"claude-generated",
|
||||
"web-research"
|
||||
],
|
||||
"_comment": "Default labels to apply to created issues. Can be overridden in the prompt.",
|
||||
"default_assignees": [
|
||||
"your-github-username"
|
||||
],
|
||||
"_comment": "Default assignees for created issues. Can be overridden in the prompt."
|
||||
},
|
||||
"issue_template": {
|
||||
"_comment": "Template for the issue body. Use placeholders like {{title}}, {{summary}}, {{url}}.",
|
||||
"title": "Research Finding: {{title}}",
|
||||
"body": "## Summary\n{{summary}}\n\n## Source URL\n{{url}}\n\n---\nThis issue was automatically generated by Claude based on web research."
|
||||
},
|
||||
"web_search": {
|
||||
"_comment": "Settings related to web search and content extraction.",
|
||||
"max_summary_length": 500,
|
||||
"_comment": "Maximum length of the summary extracted from the web page (characters).",
|
||||
"content_selector": "article, main, .content",
|
||||
"_comment": "CSS selectors to extract main content from the webpage. Try different selectors to improve results.",
|
||||
"request_timeout": 15,
|
||||
"_comment": "Timeout for web requests in seconds."
|
||||
},
|
||||
"error_handling": {
|
||||
"_comment": "Settings for handling errors during issue creation.",
|
||||
"log_errors": true,
|
||||
"_comment": "Whether to log errors to a file or console.",
|
||||
"error_notification_channel": null,
|
||||
"_comment": "Optional Slack channel or email address to send error notifications to."
|
||||
},
|
||||
"rate_limiting": {
|
||||
"_comment": "Settings to prevent exceeding GitHub API rate limits.",
|
||||
"requests_per_minute": 30,
|
||||
"_comment": "Maximum number of requests to GitHub API per minute.",
|
||||
"retry_on_rate_limit": true,
|
||||
"_comment": "Whether to retry requests if rate limited."
|
||||
},
|
||||
"security": {
|
||||
"_comment": "Security configurations to protect sensitive information.",
|
||||
"sanitize_html": true,
|
||||
"_comment": "Whether to sanitize HTML content before including it in the issue body.",
|
||||
"allowed_domains": [
|
||||
"example.com",
|
||||
"github.com"
|
||||
],
|
||||
"_comment": "List of allowed domains to fetch content from. Prevents fetching content from untrusted sources."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user