0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

21 commits

Author SHA1 Message Date
Ehindero Israel
9c1df2e153
Refactor GitHub triage command and consolidate skills (#19106)
Co-authored-by: Ehindero Israel <ehindero@Ehinderos-MacBook-Pro.local>
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-10 16:17:08 +02:00
Abhi Aiyer
b2d549369c
chore: consolidate slash commands to .mastracode as single source of truth (#14693)
## Summary

Move all slash command files to `.mastracode/commands/` and replace the
files in `.claude/commands/`, `.cursor/commands/`, and
`.opencode/command/` with symlinks pointing back to
`.mastracode/commands/`.

This means edits to any command file only need to happen in one place.

## Changes

- Created `.mastracode/commands/` with all 12 command files (canonical
copies)
- Replaced all files in `.claude/commands/`, `.cursor/commands/`,
`.opencode/command/` with symlinks
- Updated `AGENTS.md` to reference `.mastracode/commands/changeset.md`

## Test Plan

- Verified all symlinks resolve correctly (`cat` through each directory
returns identical content)
- No code changes — only config/docs files affected

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added comprehensive command documentation and workflow guidance for
managing GitHub issues, pull requests, changesets, and CI/CD processes.
* Introduced structured command specifications for bulk issue
resolution, debugging workflows, and collaborative code review
processes.

* **Documentation**
* Added detailed instructions for conventional commits, PR creation,
linting fixes, and changelog management.
  * Centralized command definitions across development tools.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
2026-03-25 14:26:55 -05:00
Daniel Lew
ec02fe1fcb
feat: add /gh-bulk-issues slash command for parallel issue solving (#14041)
Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
2026-03-09 17:54:59 -04:00
NikAiyer
1e660a8605
fix: improve gh-debug-issue command to preserve issue context (#13807)
Fixes a problem where MastraCode agents lose track of issue details
after memory compaction, making it hard to create good PRs at the end of
a debugging session.

**Changes:**

`$ISSUE` → `$1` across all command files so MastraCode can substitute
the argument properly. Also fixes `$\{ISSUE_NUMBER\}` references.

Adds durable context strategies to the gh-debug-issue command: agents
now record the issue number/title in task state immediately, create an
ISSUE_SUMMARY file early as an on-disk reference, and get a reminder in
Stage 3 to re-read the summary if they've lost track.

Same $ISSUE fix applied to make-moves.md.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Improvements**
* Debugging workflow now requires capturing and persisting issue details
(number, title, short summary and key comments) so context is retained
across stages.
* Workflow updates ensure issue summaries are maintained and that
commits/PRs reference the related issue number and title for clearer
traceability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
2026-03-04 15:54:07 -06:00
Lennart
7638e18046
chore(repo): Improve changeset CLI (#13397) 2026-02-23 14:32:05 +01:00
Lennart
b6fd5edf56
chore: Add docs styleguides (#13263)
## Description

- Add docs styleguides
- Add AGENTS.md files and point CLAUDE.md file to it
- Add mastra-docs claude skill
- Improve prompts on writing docs

## Related Issue(s)

Fixes DEVED-110

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [X] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Added comprehensive docs and styleguides (DOC, STYLEGUIDE, GUIDE_* ,
REFERENCE) and new AGENTS.md; reorganized docs content and contributor
workflow.
* Replaced extensive CLAUDE.md content with pointer to AGENTS.md;
cleared docs changelog and removed some legacy guideline files.
* Updated CLI/pr/changeset prompts and guidance to require multiple
changesets for multi-package changes and warn against very long
changesets.

* **Community**
* Updated Code of Conduct with expanded scope and clearer enforcement
guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-19 13:45:33 +01:00
Daniel Lew
0dd03b665a
add ralph-plan skill to help with writing ralph prompts (#12024) 2026-01-21 14:21:00 -05:00
Daniel Lew
49452fa37a
chore: update changeset slash commands to use CLI (#11948)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 14:25:59 +01:00
Lennart
e1819338ca
chore(repo): Improve agent instructions around changesets (#11917)
## Description

Improve agent instructions and add `changeset` command

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
Fixes #123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Expanded changeset and commit message guidelines with clearer
formatting and tone requirements.
* Added structured guidance for PR workflows to improve documentation
consistency.
  * Introduced changeset writing standards to project documentation.

* **Chores**
  * Updated configuration metadata across prompt files for consistency.
  * Fixed code formatting in documentation.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-14 07:36:45 -08:00
NikAiyer
7ba19f3df6
add error handling for llm to use in slash command (#11473)
## Description

<!-- Provide a brief description of the changes in this PR -->

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **Documentation**
* Updated command workflow documentation with stricter validation of
working directory state before branch operations
  * Enhanced error handling and messaging for improved user guidance
  * Reorganized workflow steps for improved clarity and usability

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-29 10:11:51 -08:00
NikAiyer
9046612d4d
add commands to lint and format PRs (#11471)
## Description

<!-- Provide a brief description of the changes in this PR -->

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Added procedural guide for automating lint and formatting fixes on
GitHub PR branches, including step-by-step instructions for retrieving
PR information, applying fixes, committing changes, and pushing updates.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-29 09:42:40 -08:00
Daniel Lew
f232ec11b1
Add discord msg fetching to gh-debug-issue slash cmds (#10716) 2025-12-01 12:12:29 -05:00
Daniel Lew
9985763572
clean up slash cmds (#10709)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-01 09:55:42 -05:00
Abhi Aiyer
6edf3402f6
feat: add custom fetch support to MastraClient (#10677)
Adds support for passing a custom fetch function to MastraClient,
similar to how ai-sdk handles it. This is useful for environments like
Tauri that require custom fetch implementations to avoid timeout errors
on macOS Safari webview.

You can now pass a custom fetch function when creating a MastraClient:

```typescript
const client = new MastraClient({
  baseUrl: 'http://your-api-url',
  fetch: customFetch, // Your custom fetch implementation
});
```

If no custom fetch is provided, it falls back to the global fetch
function, maintaining backward compatibility.

Fixes #10673

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* MastraClient can be configured with a custom fetch implementation to
support environments requiring alternate HTTP request handling.

* **Tests**
* Added tests verifying custom fetch is used when provided and falling
back to the default fetch when not.

* **Documentation**
* Added a changeset documenting a minor package bump and a new PR
workflow guide.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-30 19:46:56 -06:00
Abhi Aiyer
1cff076f6a
Workflow state docs (#10577)
## Description

<!-- Provide a brief description of the changes in this PR -->

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Shared workflow state added; accessible to steps, persisted across
suspend/resume and nested workflows.

* **Documentation**
* New "Workflow State" doc and updated workflow overview/reference with
guidance on initialization, propagation, and usage.
* Added contributor-facing issue/workflow guide describing a recommended
issue review workflow.

* **Tests**
* Added tests verifying state preservation across suspend/resume and
cross-step propagation.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Taofeeq Oluderu <oluderutaofeeq@gmail.com>
2025-11-28 12:10:25 +01:00
Abhi Aiyer
d8df03577f
Add proof that observability is called in runEvals (#10563)
## Description

<!-- Provide a brief description of the changes in this PR -->

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
2025-11-26 15:57:05 -06:00
Daniel Lew
a64d2e30e0
add cursor slash commands (#7528) 2025-09-05 18:32:07 +00:00
Paul Scanlon
8eeaae67af
paul/grwth-602-gh-issue-multi-turn-human-in-the-loop-example (#7010)
## Description

- add multi-turn human-in-loop example

## Related Issue(s)

- https://github.com/mastra-ai/mastra/issues/6010

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
2025-08-26 17:10:20 +01:00
Daniel Lew
ab89d6aae1
feat(mcp): add full resources spec to both MCPClient and MCPServer (#4388)
## Description

- Supports the full spec for resources
- Server -> Client notifications
- `notifications/resources/list_changed`, server sends the client a
notification alerting that the list of resources has changed (updated
metadata, created new entry, or deleted an entry)
- `notifications/resources/updated`, server sends the client a
notification alerting that a specific resource that was subscribed to
has changed its content
- Client -> Server Requests
  - `resources/list`, get full list of available resources
  - `resources/read`, gets the content from a specific resource
  - `resources/templates/list`, gets the full list of resource templates
- `resources/subscribe`/`resources/unsubscribe`, subscribe/unsubscribe
to updates from a specific resource
- Adds tests to both MCPClient and MCPServer testing all these new
capabilities
- Updates the example agent to use these new APIs
- Added reference docs updates

<!-- Provide a brief description of the changes in this PR -->

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [x] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works

---------

Co-authored-by: Daniel Lew <daniellew@Daniels-MacBook-Pro.local>
2025-05-23 14:39:17 -04:00
YujohnNattrass
73537933be
[MASTRA-2533] Speech to text example (#3008)
Example using speech to text.

Transcribe voice memos and create a summary of all the notes thus far
2025-03-20 13:29:11 -07:00
Tyler Barnes
096ce4e17c
docs(@mastra/mcp-docs-server): automatic + manual install guides (#3012)
Documentation for the new docs mcp server:
https://github.com/mastra-ai/mastra/pull/2966

Also added a `.cursor/mcp.json` to the repo so we can use it during
development.
2025-03-17 22:10:55 -07:00