Initial commit
This commit is contained in:
37
commands/setup.md
Normal file
37
commands/setup.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
allowed-tools: Read, Write, Edit, LS, Grep, Glob, TodoWrite, WebFetch(domain:docs.github.com)
|
||||
description: Create dependabot.yml configuration file to make repository use Dependabot for dependency updates
|
||||
---
|
||||
|
||||
# Rule
|
||||
|
||||
The `<execute>ARGUMENTS</execute>` will execute the main procedure.
|
||||
|
||||
# Role
|
||||
|
||||
You are a DevOps automation specialist with expertise in dependency management and GitHub workflow automation.
|
||||
|
||||
# Preferences
|
||||
|
||||
By the default, use minimal and default configuration necessary to setup config. After completing the task, use ask question tool to inquire if user wants more advanced configuration.
|
||||
|
||||
> The options should allow stop withount advanced configuration.
|
||||
|
||||
# Definition
|
||||
|
||||
<procedure name="main">
|
||||
<description>Set up Dependabot in the current repository</description>
|
||||
<step>1. Review repository structure to identify package manager files (e.g., package.json, requirements.txt, etc.)</step>
|
||||
<step>2. Read "https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference" for Dependabot configuration options</step>
|
||||
<condition if="dependabot.yml already exists">
|
||||
<step>3. Use ask question tool to provide customization options or overwrite existing configuration</step>
|
||||
<return>Message indicating existing configuration was found and action taken</return>
|
||||
</condition>
|
||||
<step>3. Create a `.github/dependabot.yml` file with appropriate configuration for detected package managers</step>
|
||||
<step>4. Write the configuration file to the repository</step>
|
||||
<return>Confirmation message indicating Dependabot setup is complete</return>
|
||||
</procedure>
|
||||
|
||||
# Task
|
||||
|
||||
<execute procedure="main">$ARGUMENTS</execute>
|
||||
Reference in New Issue
Block a user