add brag-sheet skill
This commit is contained in:
parent
7c4bce7f81
commit
1c33f57557
2 changed files with 79 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ description: Master index of all skills in your robot assistant system. Your ass
|
|||
| "prep for this interview," "prep a tech screen," "prepare for this technical interview," "tech screen prep," "interview prep," "organize my interview feedback," "write up my interview notes," "generate scorecard feedback" | **prep-tech-screen** |
|
||||
| "proofread this for confession," "organize my confession notes," "clean up my examination of conscience," "prep for confession" | **confession-script** |
|
||||
| "write a field post," "se in the wild," "site visit post," "customer visit writeup," "onsite recap," "field post" | **se-in-the-wild** |
|
||||
| "add this to my brag sheet," "log this kudos," "save this feedback," "add to brag sheet," "log a win" | **brag-sheet** |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -193,6 +194,12 @@ description: Master index of all skills in your robot assistant system. Your ass
|
|||
**File:** `skills/se-in-the-wild/SKILL.md`
|
||||
**Dependencies:** None
|
||||
|
||||
### Brag Sheet
|
||||
**Purpose:** Add kudos, congratulations, and accomplishments to a MongoDB collection for use in performance reviews, job applications, etc.
|
||||
**Triggers:** "add this to my brag sheet," "log this kudos," "save this feedback," "add to brag sheet," "log a win"
|
||||
**File:** `skills/brag-sheet/SKILL.md`
|
||||
**Dependencies:** mongodb skill (for database operations), Python with `pymongo`, `uv` CLI
|
||||
|
||||
---
|
||||
|
||||
## Adding New Skills
|
||||
|
|
|
|||
72
brag-sheet/SKILL.md
Normal file
72
brag-sheet/SKILL.md
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
# Skill: Brag Sheet
|
||||
|
||||
Add entries to the `notes.brag_sheet` MongoDB collection, which stores kudos, congratulations, and accomplishments for use in performance reviews, job applications, etc.
|
||||
|
||||
## Collection
|
||||
|
||||
- **Database**: `notes`
|
||||
- **Collection**: `brag_sheet`
|
||||
|
||||
## Document Schema
|
||||
|
||||
Each document has the following fields:
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| `date` | `datetime` | Native MongoDB datetime, set to current time at insertion |
|
||||
| `note` | `string` | The kudos/positive feedback text (e.g., a coworker's words about you) |
|
||||
| `context` | `string` | Your own notes explaining the project/situation context where this feedback came from |
|
||||
| `tags` | `array[string]` | Tags for categorization. Default: `["work"]`. Can include additional tags like `"personal"`, etc. |
|
||||
|
||||
## Connection
|
||||
|
||||
Use the MongoDB connection from the `mongodb` skill. Connection string:
|
||||
|
||||
```
|
||||
mongodb://root:3wwfoUjyk2E2zWELXFlLuHqfw1ALlOp4pb2H5Vq3TImbMIHL2h1u8Jej2mjzCPl@docdb.connorrhodes.com:35563
|
||||
```
|
||||
|
||||
## How to Add an Entry
|
||||
|
||||
When the user provides positive feedback they want to save:
|
||||
|
||||
1. **Collect the information** from the user:
|
||||
- `note`: The kudos/feedback text. This is usually provided verbatim (e.g., an email, Slack message, or verbal feedback someone gave them).
|
||||
- `context`: Background from the user about the project, situation, or relationship context. Ask for this if not provided.
|
||||
- `tags`: Default to `["work"]` unless the user specifies otherwise.
|
||||
|
||||
2. **Insert the document** using an inline Python script with `uv`:
|
||||
|
||||
```python
|
||||
from pymongo import MongoClient
|
||||
from datetime import datetime
|
||||
|
||||
client = MongoClient("mongodb://root:3wwfoUjyk2E2zWELXFlLuHqfw1ALlOp4pb2H5Vq3TImbMIHL2h1u8Jej2mjzCPl@docdb.connorrhodes.com:35563")
|
||||
db = client["notes"]
|
||||
collection = db["brag_sheet"]
|
||||
|
||||
result = collection.insert_one({
|
||||
"date": datetime.now(),
|
||||
"note": "<the kudos text>",
|
||||
"context": "<the user's context about the project>",
|
||||
"tags": ["work"]
|
||||
})
|
||||
print(f"Inserted: {result.inserted_id}")
|
||||
client.close()
|
||||
```
|
||||
|
||||
Run it via:
|
||||
|
||||
```bash
|
||||
cat <<'PYEOF' | uv run --with pymongo python -
|
||||
<script here>
|
||||
PYEOF
|
||||
```
|
||||
|
||||
## What to Ask the User
|
||||
|
||||
When the user says "add this to my brag sheet" or similar:
|
||||
|
||||
- The `note` text is usually provided directly by the user.
|
||||
- If the user doesn't provide `context`, ask: "What's the context for this feedback?" or "What project or situation was this from?"
|
||||
- If the user doesn't specify tags, default to `["work"]`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue