Skip to content

[shortcut] Add AI extension support #18558

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
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

vinsg
Copy link
Contributor

@vinsg vinsg commented Apr 12, 2025

Description

Add support for AI Extension to existing functionality. This allows users to search for and create new stories, including filtering by users, workflows, and epics.

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: shortcut Issues related to the shortcut extension OP is contributor The OP of the PR is a contributor of the extension labels Apr 12, 2025
@raycastbot
Copy link
Collaborator

raycastbot commented Apr 12, 2025

Thank you for your contribution! 🎉

🔔 @Yukaii @robertn702 @BrianHicks you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

You can expect an initial review within five business days.

@vinsg vinsg changed the title Ext/shortcut [shortcut] add AI extension support Apr 12, 2025
@vinsg vinsg changed the title [shortcut] add AI extension support [shortcut] Add AI extension support Apr 12, 2025
@vinsg vinsg marked this pull request as ready for review April 12, 2025 22:12
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR adds AI extension support to the Shortcut extension, enabling users to search for and create stories through Raycast's AI interface.

  • Added comprehensive search-stories.ts tool with detailed documentation on Shortcut's query syntax and operators
  • Added create-story.ts tool with input validation, parameter mapping, and confirmation function showing related entities
  • Added several utility tools (get-epics.ts, get-members.ts, etc.) for retrieving data from Shortcut API
  • Added AI evaluation tests in package.json with mock data for retrieving stories, creating stories, and searching
  • Updated CHANGELOG.md with a new entry "✨ AI Enhancements" using the required {PR_MERGE_DATE} template

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

12 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

vinsg and others added 4 commits April 12, 2025 18:18
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@andreaselia
Copy link
Contributor

Hey @vinsg 👋

Great addition to the extension!

During testing I ran into an issue where one of the suggested AI prompts is "Create story 'Implement user profile page'", but this fails due to there being no "workflow state" provided. Would you mind updating this prompt, defaulting the workflow state to the first option such as "To Do", or making it a non-requirement?

I also created an account to try this out, added an API token, but for some reason it isn't able to find my story?

CleanShot 2025-04-28 at 22 38 28@2x

CleanShot 2025-04-28 at 22 38 58@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Extension extension fix / improvement Label for PRs with extension's fix improvements extension: shortcut Issues related to the shortcut extension OP is contributor The OP of the PR is a contributor of the extension status: awaiting response from dev
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants