-
Notifications
You must be signed in to change notification settings - Fork 207
feat: optimize skill structure and improve content scores #339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
popey
wants to merge
3
commits into
subsy:main
Choose a base branch
from
popey:improve/skill-optimization
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,109 @@ | ||
| # Examples | ||
|
|
||
| ## Full PRD-to-Beads Conversion Example | ||
|
|
||
| **Input PRD:** | ||
| ```markdown | ||
| # PRD: Friends Outreach | ||
|
|
||
| Add ability to mark investors as "friends" for warm outreach. | ||
|
|
||
| ## Quality Gates | ||
|
|
||
| These commands must pass for every user story: | ||
| - `pnpm typecheck` - Type checking | ||
| - `pnpm lint` - Linting | ||
|
|
||
| For UI stories, also include: | ||
| - Verify in browser using dev-browser skill | ||
|
|
||
| ## User Stories | ||
|
|
||
| ### US-001: Add investorType field to investor table | ||
| **Description:** As a developer, I need to categorize investors as 'cold' or 'friend'. | ||
|
|
||
| **Acceptance Criteria:** | ||
| - [ ] Add investorType column: 'cold' | 'friend' (default 'cold') | ||
| - [ ] Generate and run migration successfully | ||
|
|
||
| ### US-002: Add type toggle to investor list rows | ||
| **Description:** As Ryan, I want to toggle investor type directly from the list. | ||
|
|
||
| **Acceptance Criteria:** | ||
| - [ ] Each row has Cold | Friend toggle | ||
| - [ ] Switching shows confirmation dialog | ||
| - [ ] On confirm: updates type in database | ||
|
|
||
| ### US-003: Filter investors by type | ||
| **Description:** As Ryan, I want to filter the list to see just friends or cold. | ||
|
|
||
| **Acceptance Criteria:** | ||
| - [ ] Filter dropdown: All | Cold | Friend | ||
| - [ ] Filter persists in URL params | ||
| ``` | ||
|
|
||
| **Output beads:** | ||
| ```bash | ||
| # Create epic (link back to source PRD) | ||
| br create --type=epic \ | ||
| --title="Friends Outreach Track" \ | ||
| --description="$(cat <<'EOF' | ||
| Warm outreach for deck feedback | ||
| EOF | ||
| )" \ | ||
| --external-ref="prd:./tasks/friends-outreach-prd.md" | ||
|
|
||
| # US-001: No deps (first - creates schema) | ||
| br create --parent=ralph-tui-abc \ | ||
| --title="US-001: Add investorType field to investor table" \ | ||
| --description="$(cat <<'EOF' | ||
| As a developer, I need to categorize investors as 'cold' or 'friend'. | ||
|
|
||
| ## Acceptance Criteria | ||
| - [ ] Add investorType column: 'cold' | 'friend' (default 'cold') | ||
| - [ ] Generate and run migration successfully | ||
| - [ ] pnpm typecheck passes | ||
| - [ ] pnpm lint passes | ||
| EOF | ||
| )" \ | ||
| --priority=1 | ||
|
|
||
| # US-002: UI story (gets browser verification too) | ||
| br create --parent=ralph-tui-abc \ | ||
| --title="US-002: Add type toggle to investor list rows" \ | ||
| --description="$(cat <<'EOF' | ||
| As Ryan, I want to toggle investor type directly from the list. | ||
|
|
||
| ## Acceptance Criteria | ||
| - [ ] Each row has Cold | Friend toggle | ||
| - [ ] Switching shows confirmation dialog | ||
| - [ ] On confirm: updates type in database | ||
| - [ ] pnpm typecheck passes | ||
| - [ ] pnpm lint passes | ||
| - [ ] Verify in browser using dev-browser skill | ||
| EOF | ||
| )" \ | ||
| --priority=2 | ||
|
|
||
| # Add dependency: US-002 depends on US-001 | ||
| br dep add ralph-tui-002 ralph-tui-001 | ||
|
|
||
| # US-003: UI story | ||
| br create --parent=ralph-tui-abc \ | ||
| --title="US-003: Filter investors by type" \ | ||
| --description="$(cat <<'EOF' | ||
| As Ryan, I want to filter the list to see just friends or cold. | ||
|
|
||
| ## Acceptance Criteria | ||
| - [ ] Filter dropdown: All | Cold | Friend | ||
| - [ ] Filter persists in URL params | ||
| - [ ] pnpm typecheck passes | ||
| - [ ] pnpm lint passes | ||
| - [ ] Verify in browser using dev-browser skill | ||
| EOF | ||
| )" \ | ||
| --priority=3 | ||
|
|
||
| # Add dependency: US-003 depends on US-002 | ||
| br dep add ralph-tui-003 ralph-tui-002 | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Reference | ||
|
|
||
| ## Differences from beads (Go version) | ||
|
|
||
| | Command | beads (`bd`) | beads-rust (`br`) | | ||
| |---------|--------------|-------------------| | ||
| | Create | `bd create` | `br create` | | ||
| | Dependencies | `bd dep add` | `br dep add` | | ||
| | Sync | `bd sync` | `br sync --flush-only` | | ||
| | Close | `bd close` | `br close` | | ||
| | Storage | `.beads/beads.jsonl` | `.beads/*.db` + JSONL export | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π§© Analysis chain
π Script executed:
Repository: subsy/ralph-tui
Length of output: 34176
π Script executed:
Repository: subsy/ralph-tui
Length of output: 2772
π Script executed:
Repository: subsy/ralph-tui
Length of output: 41
π Web query:
beads-rust "br create" priority values documentationπ‘ Result:
For beads-rust (
br) thebr createpriority is an integer on a 0β4 scale (lower number = higher priority):Example usage:
br create --title "Fix prod crash" --type bug --priority 0[1][2]Sources: [1] [2]
π Web query:
beads-rust priority 0-4 critical medium backlog meaningπ‘ Result:
In beads-rust (the Beads tracker implementation in Rust), priority is a 0β4 scale where lower numbers mean βdo soonerβ:
So βcritical / medium / backlogβ correspond to P0 / P2 / P4, respectively. [1], [2], [3]
How itβs used for picking work: tasks are typically sorted by priority ascending (0 first). [1]
Sources: [1] [2] [3]
Command example at line 70 omits critical priority value.
Line 70 shows
--priority=[1-4]but beads-rust accepts 0β4 (where 0 = critical). This means users cannot set tasks as critical when creating beads. Update to--priority=[0-4]to match the complete priority mapping shown at line 115 and align with beads-rust semantics.π€ Prompt for AI Agents