diff --git a/.agents/skills/quest-afk/SKILL.md b/.agents/skills/quest-afk/SKILL.md new file mode 100644 index 0000000..8f0b862 --- /dev/null +++ b/.agents/skills/quest-afk/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-afk +description: Keep this session's work going while the user is away, taking your recommendations and deferring merge picks until they return. Use when the user says afk, afk merge, or afk soon. +--- + +Run `quest skill afk` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.agents/skills/quest-import/SKILL.md b/.agents/skills/quest-import/SKILL.md new file mode 100644 index 0000000..b1a4bce --- /dev/null +++ b/.agents/skills/quest-import/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-import +description: Import GitHub issues as quests. +--- + +Run `quest skill import` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.agents/skills/quest-iterate/SKILL.md b/.agents/skills/quest-iterate/SKILL.md new file mode 100644 index 0000000..5f4539b --- /dev/null +++ b/.agents/skills/quest-iterate/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-iterate +description: Iterate on an open PR to settle its open decisions, fix CI and review findings, and push. +--- + +Run `quest skill iterate` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.agents/skills/quest-merge/SKILL.md b/.agents/skills/quest-merge/SKILL.md new file mode 100644 index 0000000..40b6f53 --- /dev/null +++ b/.agents/skills/quest-merge/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-merge +description: Queue a PR to land, running /quest-iterate first when it needs work. +--- + +Run `quest skill merge` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.agents/skills/quest-plan/SKILL.md b/.agents/skills/quest-plan/SKILL.md new file mode 100644 index 0000000..ee98b76 --- /dev/null +++ b/.agents/skills/quest-plan/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-plan +description: Scope and create quests through an interactive interview. Use when the user invokes /quest-plan, asks to plan a quest, or wants unsettled work split into quests. +--- + +Run `quest skill plan` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.agents/skills/quest-review/SKILL.md b/.agents/skills/quest-review/SKILL.md new file mode 100644 index 0000000..d4b594c --- /dev/null +++ b/.agents/skills/quest-review/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-review +description: Review a PR's branch locally with a model no weaker than its latest writer, then mark it ready for review. +--- + +Run `quest skill review` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.agents/skills/quest-run/SKILL.md b/.agents/skills/quest-run/SKILL.md new file mode 100644 index 0000000..11a2225 --- /dev/null +++ b/.agents/skills/quest-run/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-run +description: Run a project's quest work from one session, starting ready quests and taking open PRs to merge in a loop until only the user's decisions remain, then planning the follow-ups no quest owns yet. +--- + +Run `quest skill run` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.agents/skills/quest-start/SKILL.md b/.agents/skills/quest-start/SKILL.md new file mode 100644 index 0000000..84b5da2 --- /dev/null +++ b/.agents/skills/quest-start/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-start +description: Start work on a quest. +--- + +Run `quest skill start` and follow its output. +If `quest` is not installed, follow https://github.com/kixel-ai/quest/blob/main/SETUP.md first. diff --git a/.claude/skills/quest-afk/SKILL.md b/.claude/skills/quest-afk/SKILL.md new file mode 100644 index 0000000..a04ac5f --- /dev/null +++ b/.claude/skills/quest-afk/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-afk +description: Keep this session's work going while the user is away, taking your recommendations and deferring merge picks until they return. Use when the user says afk, afk merge, or afk soon. +allowed-tools: Bash(quest skill afk) PowerShell(quest skill afk) +--- + +!`quest skill afk; echo "If quest skill afk printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill afk and follow its output."` diff --git a/.claude/skills/quest-import/SKILL.md b/.claude/skills/quest-import/SKILL.md new file mode 100644 index 0000000..c7f2f29 --- /dev/null +++ b/.claude/skills/quest-import/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-import +description: Import GitHub issues as quests. +allowed-tools: Bash(quest skill import) PowerShell(quest skill import) +--- + +!`quest skill import; echo "If quest skill import printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill import and follow its output."` diff --git a/.claude/skills/quest-iterate/SKILL.md b/.claude/skills/quest-iterate/SKILL.md new file mode 100644 index 0000000..8d9c4f0 --- /dev/null +++ b/.claude/skills/quest-iterate/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-iterate +description: Iterate on an open PR to settle its open decisions, fix CI and review findings, and push. +allowed-tools: Bash(quest skill iterate) PowerShell(quest skill iterate) +--- + +!`quest skill iterate; echo "If quest skill iterate printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill iterate and follow its output."` diff --git a/.claude/skills/quest-merge/SKILL.md b/.claude/skills/quest-merge/SKILL.md new file mode 100644 index 0000000..4d80683 --- /dev/null +++ b/.claude/skills/quest-merge/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-merge +description: Queue a PR to land, running /quest-iterate first when it needs work. +allowed-tools: Bash(quest skill merge) PowerShell(quest skill merge) +--- + +!`quest skill merge; echo "If quest skill merge printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill merge and follow its output."` diff --git a/.claude/skills/quest-plan/SKILL.md b/.claude/skills/quest-plan/SKILL.md new file mode 100644 index 0000000..5a98941 --- /dev/null +++ b/.claude/skills/quest-plan/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-plan +description: Scope and create quests through an interactive interview. Use when the user invokes /quest-plan, asks to plan a quest, or wants unsettled work split into quests. +allowed-tools: Bash(quest skill plan) PowerShell(quest skill plan) +--- + +!`quest skill plan; echo "If quest skill plan printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill plan and follow its output."` diff --git a/.claude/skills/quest-review/SKILL.md b/.claude/skills/quest-review/SKILL.md new file mode 100644 index 0000000..b394e26 --- /dev/null +++ b/.claude/skills/quest-review/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-review +description: Review a PR's branch locally with a model no weaker than its latest writer, then mark it ready for review. +allowed-tools: Bash(quest skill review) PowerShell(quest skill review) +--- + +!`quest skill review; echo "If quest skill review printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill review and follow its output."` diff --git a/.claude/skills/quest-run/SKILL.md b/.claude/skills/quest-run/SKILL.md new file mode 100644 index 0000000..27e50ed --- /dev/null +++ b/.claude/skills/quest-run/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-run +description: Run a project's quest work from one session, starting ready quests and taking open PRs to merge in a loop until only the user's decisions remain, then planning the follow-ups no quest owns yet. +allowed-tools: Bash(quest skill run) PowerShell(quest skill run) +--- + +!`quest skill run; echo "If quest skill run printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill run and follow its output."` diff --git a/.claude/skills/quest-start/SKILL.md b/.claude/skills/quest-start/SKILL.md new file mode 100644 index 0000000..639a3b3 --- /dev/null +++ b/.claude/skills/quest-start/SKILL.md @@ -0,0 +1,7 @@ +--- +name: quest-start +description: Start work on a quest. +allowed-tools: Bash(quest skill start) PowerShell(quest skill start) +--- + +!`quest skill start; echo "If quest skill start printed an error instead of instructions, install quest as https://github.com/kixel-ai/quest/blob/main/SETUP.md describes, then run quest skill start and follow its output."` diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..23c67e4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +quest/** merge=quest diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..ed9676b --- /dev/null +++ b/AGENTS.md @@ -0,0 +1 @@ +Quests: before any work, run `quest context` and follow it, or read https://github.com/kixel-ai/quest/blob/main/docs/context.md where `quest` is not installed, unless this session already holds its rules. diff --git a/flake.lock b/flake.lock index 5f7e96f..2db2a38 100644 --- a/flake.lock +++ b/flake.lock @@ -58,14 +58,15 @@ "nixpkgs": "nixpkgs", "nixpkgs-bun": "nixpkgs-bun", "quest-pinned": "quest-pinned", - "token-max": "token-max" + "token-max": "token-max", + "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1795723351, - "narHash": "sha256-HKNemeY0ivchWxtlZt/+mowohXR8UOdMd8H6doj0zzA=", + "lastModified": 1795819093, + "narHash": "sha256-l2m2VA3EV6T8ccvXVqLcorhaZvYWgGsfRLDk2DOze6w=", "owner": "kixel-ai", "repo": "quest", - "rev": "d6bba97706420e409ba235b86212bff172af7a6c", + "rev": "2422aac04f06c6098989b89f2af0802b7aead492", "type": "github" }, "original": { @@ -163,6 +164,27 @@ "repo": "token-max", "type": "github" } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "quest", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1795615686, + "narHash": "sha256-/C0FK2Fwq0aWE/GADYyYbAIdQeGfYBbWMin3tfks1NA=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "b7b56d3c8833016c650ca542b1230e6130299741", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } } }, "root": "root", diff --git a/quest/README.md b/quest/README.md new file mode 100644 index 0000000..7af5847 --- /dev/null +++ b/quest/README.md @@ -0,0 +1,5 @@ +# Quests + +## Goal + +What this project is working toward. diff --git a/quest/m0/README.md b/quest/m0/README.md new file mode 100644 index 0000000..c286966 --- /dev/null +++ b/quest/m0/README.md @@ -0,0 +1,5 @@ +# Now + +## Goal + +The work under way now. diff --git a/quest/m1/README.md b/quest/m1/README.md new file mode 100644 index 0000000..631306f --- /dev/null +++ b/quest/m1/README.md @@ -0,0 +1,5 @@ +# After m0 + +## Goal + +The work that follows m0. diff --git a/quest/m1/audit-code.md b/quest/m1/audit-code.md new file mode 100644 index 0000000..a9da95b --- /dev/null +++ b/quest/m1/audit-code.md @@ -0,0 +1,9 @@ +# [L] Audit the code + +## Goal + +Run the `code` audit: `quest audit code` prints what it checks, what each finding becomes, and how to plan its next run. + +## Audit + +- code diff --git a/quest/m1/audit-cost.md b/quest/m1/audit-cost.md new file mode 100644 index 0000000..63288b8 --- /dev/null +++ b/quest/m1/audit-cost.md @@ -0,0 +1,9 @@ +# [L] Audit build and CI cost + +## Goal + +Run the `cost` audit: `quest audit cost` prints what it checks, what each finding becomes, and how to plan its next run. + +## Audit + +- cost diff --git a/quest/m1/audit-deps.md b/quest/m1/audit-deps.md new file mode 100644 index 0000000..50668e0 --- /dev/null +++ b/quest/m1/audit-deps.md @@ -0,0 +1,9 @@ +# [M] Audit dependencies + +## Goal + +Run the `deps` audit: `quest audit deps` prints what it checks, what each finding becomes, and how to plan its next run. + +## Audit + +- deps diff --git a/quest/m1/audit-docs.md b/quest/m1/audit-docs.md new file mode 100644 index 0000000..6f0d086 --- /dev/null +++ b/quest/m1/audit-docs.md @@ -0,0 +1,9 @@ +# [M] Audit the docs + +## Goal + +Run the `docs` audit: `quest audit docs` prints what it checks, what each finding becomes, and how to plan its next run. + +## Audit + +- docs diff --git a/quest/m1/audit-instructions.md b/quest/m1/audit-instructions.md new file mode 100644 index 0000000..474af3f --- /dev/null +++ b/quest/m1/audit-instructions.md @@ -0,0 +1,9 @@ +# [XL] Audit agent instructions + +## Goal + +Run the `instructions` audit: `quest audit instructions` prints what it checks, what each finding becomes, and how to plan its next run. + +## Audit + +- instructions diff --git a/quest/m1/audit-tests.md b/quest/m1/audit-tests.md new file mode 100644 index 0000000..2526e03 --- /dev/null +++ b/quest/m1/audit-tests.md @@ -0,0 +1,9 @@ +# [M] Audit test coverage + +## Goal + +Run the `tests` audit: `quest audit tests` prints what it checks, what each finding becomes, and how to plan its next run. + +## Audit + +- tests diff --git a/quest/m1/audit-tree.md b/quest/m1/audit-tree.md new file mode 100644 index 0000000..402c7a3 --- /dev/null +++ b/quest/m1/audit-tree.md @@ -0,0 +1,9 @@ +# [M] Audit the quest tree + +## Goal + +Run the `tree` audit: `quest audit tree` prints what it checks, what each finding becomes, and how to plan its next run. + +## Audit + +- tree