Skip to content

feat: add new agent skills and skill auto-update on upgrade#17

Merged
rfgamaral merged 6 commits intomainfrom
chore/standardize-skills-and-agents
Mar 25, 2026
Merged

feat: add new agent skills and skill auto-update on upgrade#17
rfgamaral merged 6 commits intomainfrom
chore/standardize-skills-and-agents

Conversation

@rfgamaral
Copy link
Copy Markdown
Member

@rfgamaral rfgamaral commented Mar 25, 2026

Overview

The skill infrastructure in this CLI was behind todoist-cli and twist-cli — missing the update method, update-installed.ts, and the postinstall hook that auto-updates installed skills on CLI upgrade. I've added all of that.

I've also added support for gemini, pi, and universal agents, and rewritten the README to follow the same structure as the other Doist CLIs. The universal agent installs to ~/.agents/ for compatibility with Amp, OpenCode, and similar tools. The installer skips the agent directory existence check for universal since there's no specific agent to verify.

The postinstall script is now guarded against missing dist/ on fresh checkouts, avoiding noisy errors during npm install before the first build.

Reference

Test plan

  • Code review should suffice (the code matches other CLIs)

@rfgamaral rfgamaral self-assigned this Mar 25, 2026
@rfgamaral rfgamaral added the 👀 Show PR PR must be reviewed before or after merging label Mar 25, 2026
@rfgamaral rfgamaral requested a review from henningmu March 25, 2026 02:24
Copy link
Copy Markdown

@doistbot-app doistbot-app Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR brings the CLI's skill infrastructure in line with other Doist tools by adding an auto-update postinstall hook, an update method, and support for new agent targets, along with a refreshed README. These additions will significantly streamline the experience of keeping skills current across various environments. There are a few details to iron out regarding the universal installer's directory creation and Copilot compatibility, as well as minor adjustments needed for the postinstall script's execution check and the documented uninstall steps.

Share FeedbackReview Logs

Comment thread README.md Outdated
Comment thread src/lib/skills/index.ts
Comment thread package.json Outdated
Comment thread README.md Outdated
@rfgamaral rfgamaral force-pushed the chore/standardize-skills-and-agents branch from f6c5c86 to ed61c05 Compare March 25, 2026 02:35
@rfgamaral rfgamaral force-pushed the chore/standardize-skills-and-agents branch from ed61c05 to 53651ec Compare March 25, 2026 03:03
@rfgamaral rfgamaral merged commit b73b761 into main Mar 25, 2026
3 checks passed
@rfgamaral rfgamaral deleted the chore/standardize-skills-and-agents branch March 25, 2026 03:06
rfgamaral pushed a commit that referenced this pull request Mar 25, 2026
🤖 I have created a release *beep* *boop*
---


## [1.3.0](v1.2.0...v1.3.0)
(2026-03-25)


### Features

* add new agent skills and skill auto-update on upgrade
([#17](#17))
([b73b761](b73b761))


### Bug Fixes

* **person:** Support name lookup and id: prefix syntax
([#13](#13))
([3c81bda](3c81bda))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@henningmu
Copy link
Copy Markdown
Contributor

Thank you ✅

rfgamaral added a commit to Doist/outline-cli that referenced this pull request Mar 25, 2026
## Overview

This PR prepares outline-cli for npm publishing as `@doist/outline-cli`
(v1.0.0) and brings it in line with the other Doist CLIs.

The skill infrastructure was missing the `update` method and the
`postinstall` hook that auto-updates installed skills on CLI upgrade —
I've added both. I've also added support for gemini, pi, and universal
agents. The universal agent installs to `~/.agents/` for compatibility
with Amp, OpenCode, and similar tools. The installer skips the agent
directory existence check for universal since there's no specific agent
to verify.

Publishing is set up with semantic-release, following the same pattern
as twist-cli. CI workflows were updated to use `.nvmrc` and the
test/lint workflows now only run on PRs since the release workflow
handles main.

The `postinstall` script uses a cross-platform Node.js wrapper
(`scripts/postinstall.js`) instead of `test -f`, which doesn't work on
Windows. The redundant `prepare` script for lefthook installation was
also removed — lefthook's own postinstall already handles this.

### Reference
- Doist/todoist-cli#176
- Doist/bob-cli#17
- Doist/twist-cli#101

## Test plan
- [ ] Code review
- [ ] CI passes (test, lint, type-check)
- [ ] First release publishes as `@doist/outline-cli@1.0.0` on npm
github-actions Bot pushed a commit to Doist/outline-cli that referenced this pull request Mar 25, 2026
# 1.0.0 (2026-03-25)

### Bug Fixes

* broaden CI detection to handle all truthy values ([7dc2806](7dc2806))
* exclude dist from biome checks ([0dc49a3](0dc49a3))

### Features

* add API Spinner Proxy ([#17](#17)) ([a3bc75a](a3bc75a))
* add fuzzy reference resolution ([#19](#19)) ([6c1c6f9](6c1c6f9))
* add npm publishing, new agent skills, and skill auto-update ([#36](#36)) ([bcb2e75](bcb2e75)), closes [Doist/todoist-cli#176](Doist/todoist-cli#176) [Doist/bob-cli#17](Doist/bob-cli#17) [Doist/twist-cli#101](Doist/twist-cli#101)
* add structured error formatting with codes and hints ([#18](#18)) ([17658d2](17658d2))
* implement OAuth PKCE browser login ([#20](#20)) ([b7f6eec](b7f6eec)), closes [#7](#7) [outline/outline#11254](outline/outline#11254)
* improve oauth login inputs and callback UX ([#31](#31)) ([3011b28](3011b28))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👀 Show PR PR must be reviewed before or after merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants