mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-25 10:18:31 +02:00
Claude command and add Nord Light
This commit is contained in:
37
.claude/commands/Yaak:generate-release-notes.md
Normal file
37
.claude/commands/Yaak:generate-release-notes.md
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
description: Generate formatted release notes for Yaak releases
|
||||||
|
allowed-tools: Bash(git tag:*)
|
||||||
|
---
|
||||||
|
|
||||||
|
Generate formatted release notes for Yaak releases by analyzing git history and pull request descriptions.
|
||||||
|
|
||||||
|
## What to do
|
||||||
|
|
||||||
|
1. Identifies the version tag and previous version
|
||||||
|
2. Retrieves all commits between versions (scoped to stable or beta)
|
||||||
|
3. Fetches PR descriptions for linked issues to find:
|
||||||
|
- Feedback URLs (feedback.yaak.app)
|
||||||
|
- Additional context and descriptions
|
||||||
|
- Installation links for plugins
|
||||||
|
4. Formats the release notes using the standard Yaak format:
|
||||||
|
- Changelog badge at the top
|
||||||
|
- Bulleted list of changes with PR links
|
||||||
|
- Feedback links where available
|
||||||
|
- Full changelog comparison link at the bottom
|
||||||
|
|
||||||
|
## Output Format
|
||||||
|
|
||||||
|
The skill generates markdown-formatted release notes following this structure:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
[](https://yaak.app/changelog/VERSION)
|
||||||
|
|
||||||
|
- Feature/fix description in by @username [#123](https://github.com/mountain-loop/yaak/pull/123)
|
||||||
|
- [Linked feedback item](https://feedback.yaak.app/p/item) by @username in [#456](https://github.com/mountain-loop/yaak/pull/456)
|
||||||
|
- A simple item that doesn't have a feedback or PR link
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/mountain-loop/yaak/compare/vPREV...vCURRENT
|
||||||
|
```
|
||||||
|
|
||||||
|
**IMPORTANT**: Always add a blank lines around the markdown code fence and output the markdown code block last
|
||||||
|
**IMPORTANT**: PRs by `@gschier` should not mention the @username
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
---
|
|
||||||
name: Yaak:generate-release-notes
|
|
||||||
description: Generate formatted release notes for Yaak releases by analyzing git history and pull request descriptions
|
|
||||||
---
|
|
||||||
|
|
||||||
# Release Notes Generator
|
|
||||||
|
|
||||||
Generate formatted release notes for Yaak releases by analyzing git history and pull request descriptions.
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
You can invoke this skill by:
|
|
||||||
1. Providing a version number: "Generate release notes for 2025.10.0-beta.6"
|
|
||||||
2. Using "latest" to generate notes for the most recent tag
|
|
||||||
|
|
||||||
## What this skill does
|
|
||||||
|
|
||||||
1. Identifies the version tag and previous version
|
|
||||||
2. Retrieves all commits between versions
|
|
||||||
3. Fetches PR descriptions for linked issues to find:
|
|
||||||
- Feedback URLs (feedback.yaak.app)
|
|
||||||
- Additional context and descriptions
|
|
||||||
- Installation links for plugins
|
|
||||||
4. Formats the release notes using the standard Yaak format:
|
|
||||||
- Changelog badge at the top
|
|
||||||
- Bulleted list of changes with PR links
|
|
||||||
- Feedback links where available
|
|
||||||
- Full changelog comparison link at the bottom
|
|
||||||
|
|
||||||
## Output Format
|
|
||||||
|
|
||||||
The skill generates markdown-formatted release notes following this structure:
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
[](https://yaak.app/changelog/VERSION)
|
|
||||||
|
|
||||||
- Feature/fix description in [#123](https://github.com/mountain-loop/yaak/pull/123)
|
|
||||||
- Additional context if needed
|
|
||||||
- [Linked feedback item](https://feedback.yaak.app/p/item) in [#456](https://github.com/mountain-loop/yaak/pull/456)
|
|
||||||
|
|
||||||
**Full Changelog**: https://github.com/mountain-loop/yaak/compare/vPREV...vCURRENT
|
|
||||||
```
|
|
||||||
|
|
||||||
**IMPORTANT**: Always add a blank line after the closing ``` markdown fence before any explanatory text.
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
- Git repository must be available
|
|
||||||
- GitHub CLI (`gh`) must be installed and authenticated
|
|
||||||
- Version tags should follow the format: `v2025.10.0-beta.X`
|
|
||||||
@@ -21,7 +21,7 @@ import {
|
|||||||
monokaiProSpectrum,
|
monokaiProSpectrum,
|
||||||
} from './themes/monokai-pro';
|
} from './themes/monokai-pro';
|
||||||
import { moonlight } from './themes/moonlight';
|
import { moonlight } from './themes/moonlight';
|
||||||
import { nord } from './themes/nord';
|
import { nord, nordLight } from './themes/nord';
|
||||||
import { relaxing } from './themes/relaxing';
|
import { relaxing } from './themes/relaxing';
|
||||||
import { rosePine, rosePineMoon, rosePineDawn } from './themes/rose-pine';
|
import { rosePine, rosePineMoon, rosePineDawn } from './themes/rose-pine';
|
||||||
import { triangle } from './themes/triangle';
|
import { triangle } from './themes/triangle';
|
||||||
@@ -93,6 +93,7 @@ export const plugin: PluginDefinition = {
|
|||||||
nightOwl,
|
nightOwl,
|
||||||
noctisAzureus,
|
noctisAzureus,
|
||||||
nord,
|
nord,
|
||||||
|
nordLight,
|
||||||
oneDarkPro,
|
oneDarkPro,
|
||||||
pandaSyntax,
|
pandaSyntax,
|
||||||
relaxing,
|
relaxing,
|
||||||
|
|||||||
@@ -27,3 +27,31 @@ export const nord: Theme = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const nordLight: Theme = {
|
||||||
|
id: 'nord-light',
|
||||||
|
label: 'Nord Light',
|
||||||
|
dark: false,
|
||||||
|
base: {
|
||||||
|
surface: 'hsl(220,27%,98%)',
|
||||||
|
surfaceHighlight: 'hsl(220,24%,94%)',
|
||||||
|
text: 'hsl(220,16%,22%)',
|
||||||
|
textSubtle: 'hsl(220,15%,30%)',
|
||||||
|
textSubtlest: 'hsl(220,14%,40%)',
|
||||||
|
primary: 'hsl(193,43%,52%)',
|
||||||
|
secondary: 'hsl(210,34%,54%)',
|
||||||
|
info: 'hsl(179,25%,50%)',
|
||||||
|
success: 'hsl(92,28%,48%)',
|
||||||
|
notice: 'hsl(40,71%,52%)',
|
||||||
|
warning: 'hsl(14,51%,53%)',
|
||||||
|
danger: 'hsl(354,42%,56%)',
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
sidebar: {
|
||||||
|
backdrop: 'hsl(220,24%,94%)',
|
||||||
|
},
|
||||||
|
appHeader: {
|
||||||
|
backdrop: 'hsl(220,27%,98%)',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user