Skip to content

Commit a7dfb6a

Browse files
Merge pull request #316 from olasunkanmi-SE/feature_notification
Feature notification
2 parents 2583b0d + 26de09c commit a7dfb6a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+4057
-768
lines changed

.codebuddy/skills/aws/SKILL.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: aws
3+
description: Manage AWS resources via the aws CLI.
4+
---
5+
6+
# AWS CLI
7+
8+
Use `aws` to interact with Amazon Web Services.
9+
10+
## Common Commands
11+
12+
### S3
13+
- List buckets: `aws s3 ls`
14+
- List objects: `aws s3 ls s3://<bucket-name>`
15+
- Copy file: `aws s3 cp <source> <destination>`
16+
17+
### EC2
18+
- List instances: `aws ec2 describe-instances`
19+
- Start instance: `aws ec2 start-instances --instance-ids <id>`
20+
- Stop instance: `aws ec2 stop-instances --instance-ids <id>`
21+
22+
### Lambda
23+
- List functions: `aws lambda list-functions`
24+
- Invoke function: `aws lambda invoke --function-name <name> output.json`
25+
26+
## Notes
27+
- Requires `aws` CLI to be installed and configured (`aws configure`).

.codebuddy/skills/email/SKILL.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: email
3+
description: Send emails using mailsend-go CLI
4+
---
5+
6+
# Email Skill
7+
8+
This skill allows sending emails via SMTP using the `mailsend` tool (mailsend-go).
9+
10+
## Prerequisites
11+
- `mailsend` binary must be in `.codebuddy/bin/mailsend`
12+
- SMTP credentials (host, port, user, password)
13+
14+
## Usage
15+
16+
Use `./.codebuddy/bin/mailsend` to send emails.
17+
18+
### Send a simple email
19+
```bash
20+
./.codebuddy/bin/mailsend -smtp <smtp_host> -port <smtp_port> -auth -user <username> -pass <password> -from <sender_email> -to <recipient_email> -sub "Subject" -body "Body text"
21+
```
22+
23+
### Send with SSL/TLS (Gmail example)
24+
```bash
25+
./.codebuddy/bin/mailsend -smtp smtp.gmail.com -port 587 -starttls -auth -user <username> -pass <password> -from <sender_email> -to <recipient_email> -sub "Subject" -body "Body text"
26+
```
27+
28+
### Notes
29+
- For Gmail, use App Passwords if 2FA is enabled.
30+
- Always ask the user for SMTP credentials before sending if not provided.

.codebuddy/skills/github/SKILL.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: github
3+
description: Manage GitHub repositories, issues, and pull requests via the gh CLI.
4+
---
5+
6+
# gh (GitHub CLI)
7+
8+
Use `./.codebuddy/bin/gh` to interact with GitHub.
9+
This tool allows you to manage PRs, issues, and repositories directly from the chat.
10+
11+
## Setup
12+
13+
Before using, you must authenticate. Run the following command in the terminal:
14+
`./.codebuddy/bin/gh auth login`
15+
16+
## Common Commands
17+
18+
### Pull Requests
19+
- List PRs: `./.codebuddy/bin/gh pr list`
20+
- View PR: `./.codebuddy/bin/gh pr view <PR-NUMBER>`
21+
- Checkout PR: `./.codebuddy/bin/gh pr checkout <PR-NUMBER>`
22+
- Create PR: `./.codebuddy/bin/gh pr create`
23+
- Review PR: `./.codebuddy/bin/gh pr review <PR-NUMBER>`
24+
- Merge PR: `./.codebuddy/bin/gh pr merge <PR-NUMBER>`
25+
26+
### Issues
27+
- List issues: `./.codebuddy/bin/gh issue list`
28+
- View issue: `./.codebuddy/bin/gh issue view <ISSUE-NUMBER>`
29+
- Create issue: `./.codebuddy/bin/gh issue create`
30+
31+
### Repositories
32+
- View repo info: `./.codebuddy/bin/gh repo view`
33+
- Clone repo: `./.codebuddy/bin/gh repo clone <OWNER>/<REPO>`
34+
35+
## Notes
36+
- Ensure you have a GitHub account and permissions for the repositories you want to access.
37+
- Authentication token is stored securely by `gh`.

.codebuddy/skills/gitlab/SKILL.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: gitlab
3+
description: Manage GitLab issues and merge requests via the glab CLI.
4+
---
5+
6+
# glab
7+
8+
Use `glab` to interact with GitLab.
9+
This tool allows you to view, create, and update GitLab issues and merge requests.
10+
11+
## Setup
12+
13+
Ensure `glab` is installed and authenticated.
14+
If using the bundled version, run:
15+
`./.codebuddy/bin/glab auth login`
16+
17+
## Common Commands
18+
19+
### Issues
20+
- List issues: `glab issue list`
21+
- View issue: `glab issue view <ID>`
22+
- Create issue: `glab issue create`
23+
- Assign: `glab issue update <ID> --assignee <USER>`
24+
25+
### Merge Requests
26+
- List MRs: `glab mr list`
27+
- Create MR: `glab mr create`
28+
- View MR: `glab mr view <ID>`
29+
30+
## Notes
31+
- Requires a GitLab personal access token.

.codebuddy/skills/jira/SKILL.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: jira
3+
description: Manage Jira issues, sprints, and epics via the jira-cli tool.
4+
---
5+
6+
# jira-cli
7+
8+
Use `./.codebuddy/bin/jira` to interact with Jira.
9+
This tool allows you to view, create, and update Jira issues directly from the chat.
10+
11+
## Setup
12+
13+
Before using, you must authenticate. Run the following command in the terminal:
14+
`./.codebuddy/bin/jira init`
15+
16+
## Common Commands
17+
18+
### Issues
19+
- List issues: `./.codebuddy/bin/jira issue list`
20+
- View issue: `./.codebuddy/bin/jira issue view <ISSUE-KEY>`
21+
- Create issue: `./.codebuddy/bin/jira issue create`
22+
- Comment: `./.codebuddy/bin/jira issue comment add <ISSUE-KEY> "Comment text"`
23+
- Assign: `./.codebuddy/bin/jira issue assign <ISSUE-KEY> <USER>`
24+
25+
### Sprints & Boards
26+
- List boards: `./.codebuddy/bin/jira board list`
27+
- List sprints: `./.codebuddy/bin/jira sprint list --board <BOARD-ID>`
28+
29+
### JQL
30+
- Search with JQL: `./.codebuddy/bin/jira issue list --jql "project = PROJ AND status = 'In Progress'"`
31+
32+
## Notes
33+
- Ensure you have an API token ready from Atlassian (https://id.atlassian.com/manage-profile/security/api-tokens).
34+
- Configuration is stored in `~/.jira/.config.yml`.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: kubernetes
3+
description: Manage Kubernetes clusters via the kubectl CLI.
4+
---
5+
6+
# kubectl
7+
8+
Use `kubectl` to interact with Kubernetes clusters.
9+
10+
## Common Commands
11+
12+
### Pods
13+
- List pods: `kubectl get pods`
14+
- Describe pod: `kubectl describe pod <pod-name>`
15+
- Logs: `kubectl logs <pod-name>`
16+
- Exec: `kubectl exec -it <pod-name> -- /bin/bash`
17+
18+
### Deployments
19+
- List deployments: `kubectl get deployments`
20+
- Scale: `kubectl scale deployment <name> --replicas=3`
21+
22+
### Services
23+
- List services: `kubectl get services`
24+
25+
### Context
26+
- Get context: `kubectl config current-context`
27+
- Use context: `kubectl config use-context <context-name>`
28+
29+
## Notes
30+
- Requires `kubectl` to be installed and configured (`~/.kube/config`).

.codebuddy/skills/linear/SKILL.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: linear
3+
description: Manage Linear issues via the linear-cli (unofficial or custom wrapper).
4+
---
5+
6+
# linear-cli
7+
8+
Use `linear` (or appropriate CLI wrapper) to interact with Linear.
9+
10+
## Common Commands
11+
12+
### Issues
13+
- List issues: `linear issue list`
14+
- View issue: `linear issue view <ID>`
15+
- Create issue: `linear issue create`
16+
17+
## Notes
18+
- Requires a Linear CLI tool to be installed.
19+
- Requires `LINEAR_API_KEY` environment variable.

.codebuddy/skills/mongodb/SKILL.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: mongodb
3+
description: Manage MongoDB databases via the mongosh tool.
4+
---
5+
6+
# mongosh
7+
8+
Use `mongosh` to interact with MongoDB databases.
9+
10+
## Common Commands
11+
12+
### Connection
13+
- Connect: `mongosh "mongodb://user:password@host:port/dbname"`
14+
15+
### Operations
16+
- Show databases: `show dbs`
17+
- Use database: `use <dbname>`
18+
- Show collections: `show collections`
19+
- Find documents: `db.collection.find().limit(5)`
20+
- Insert document: `db.collection.insertOne({ key: "value" })`
21+
- Quit: `exit`
22+
23+
## Notes
24+
- Requires `mongosh` to be installed in the environment.

.codebuddy/skills/mysql/SKILL.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: mysql
3+
description: Manage MySQL databases via the mysql CLI.
4+
---
5+
6+
# mysql
7+
8+
Use `mysql` to interact with MySQL databases.
9+
10+
## Common Commands
11+
12+
### Connection
13+
- Connect: `mysql -h <host> -P <port> -u <user> -p`
14+
15+
### Operations
16+
- Show databases: `SHOW DATABASES;`
17+
- Use database: `USE <dbname>;`
18+
- Show tables: `SHOW TABLES;`
19+
- Describe table: `DESCRIBE <table_name>;`
20+
- Execute query: `SELECT * FROM table LIMIT 10;`
21+
- Quit: `exit`
22+
23+
## Notes
24+
- Requires `mysql` to be installed in the environment.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: postgres
3+
description: Manage PostgreSQL databases via the psql CLI.
4+
---
5+
6+
# psql
7+
8+
Use `psql` to interact with PostgreSQL databases.
9+
10+
## Common Commands
11+
12+
### Connection
13+
- Connect: `psql "postgresql://user:password@host:port/dbname"`
14+
15+
### Operations
16+
- List databases: `\l`
17+
- List tables: `\dt`
18+
- Describe table: `\d <table_name>`
19+
- Execute query: `SELECT * FROM table LIMIT 10;`
20+
- Quit: `\q`
21+
22+
## Notes
23+
- Requires `psql` to be installed in the environment.

0 commit comments

Comments
 (0)