Skip to content

Conversation

@balzss
Copy link
Contributor

@balzss balzss commented Oct 13, 2025

Summary

Add two new slash commands for inst-ai tool integration:

  • /plan: Generate implementation plans from Jira issues with codebase analysis and entry point file selection
  • /ticket: Create Jira tickets from Slack thread URLs with InstUI conventions

These commands streamline the workflow for analyzing issues and creating tickets while following InstUI conventions.

Test Plan

  • Verify /plan command appears in available commands list
  • Verify /ticket command appears in available commands list
  • Test /plan with a Jira issue (requires inst-ai tool installed)
  • Test /ticket with a Slack thread URL (requires inst-ai tool installed)
  • Confirm .gitignore properly tracks the new command files

🤖 Generated with Claude Code

@balzss balzss self-assigned this Oct 13, 2025
@github-actions
Copy link

github-actions bot commented Oct 13, 2025

PR Preview Action v1.6.2

🚀 View preview at
https://instructure.design/pr-preview/pr-2194/

Built to branch gh-pages at 2025-10-13 13:53 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Add inst-ai tool integration and improve PR workflow:
- Add /plan command: Generate implementation plans from Jira issues with codebase analysis
- Add /ticket command: Create Jira tickets from Slack thread URLs
- Update /pr command to auto-assign PRs to creator
- Add commit handling: automatically use /commit for uncommitted changes
- Add squashing analysis: evaluate commit history and recommend squashing when appropriate
- Include guidelines for when to squash vs keep commits separate

These commands streamline the workflow for analyzing issues, creating tickets,
and managing pull requests while following InstUI conventions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@balzss balzss force-pushed the chore/claude-improvements branch from b9e010d to b689318 Compare October 13, 2025 13:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds two new slash commands for inst-ai tool integration to streamline development workflows. The commands leverage the inst-ai tool to analyze Jira issues and create tickets from Slack threads while following InstUI conventions.

Key Changes

  • Add /plan command for generating implementation plans from Jira issues with codebase analysis
  • Add /ticket command for creating Jira tickets from Slack thread URLs
  • Update /pr command to include commit squashing workflow guidance

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
.claude/commands/ticket.md New command for creating Jira tickets from Slack conversations with InstUI conventions
.claude/commands/pr.md Enhanced PR workflow with commit analysis and squashing recommendations
.claude/commands/plan.md New command for generating implementation plans from Jira issues using codebase analysis

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +42 to +43
- Squash with: `git reset --soft master && git commit -m "$(cat <<'EOF'...EOF)"`

Copy link

Copilot AI Oct 13, 2025

Choose a reason for hiding this comment

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

The squashing command uses an incomplete heredoc syntax. The actual commit message content should be provided or referenced more clearly, as the current ... placeholder could be confusing.

Suggested change
- Squash with: `git reset --soft master && git commit -m "$(cat <<'EOF'...EOF)"`
- Squash with: `git reset --soft master && git commit -m "$(cat <<'EOF'
## Summary
- Brief description of changes (1-3 bullet points)
## Test Plan
- [ ] Step 1
- [ ] Step 2
## Jira Reference
Fixes INST-XXXX (or omit this section if not applicable)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"`

Copilot uses AI. Check for mistakes.
@balzss
Copy link
Contributor Author

balzss commented Oct 14, 2025

@matyasf @ToMESSKa please wait with the review until #2172 is merged

Copy link
Contributor

@ToMESSKa ToMESSKa left a comment

Choose a reason for hiding this comment

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

When testing it with Slack thread that is a question, it stil wants to create a Jira ticket (should not create tickets for questions like the original tool)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants