-
Notifications
You must be signed in to change notification settings - Fork 0
Implement token-saving skill and related evaluation files #5
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
Merged
miroslavpojer
merged 6 commits into
master
from
feature/3-Implement-the-token-saving-skill
Jun 1, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
677b52d
Implement token-saving skill and related evaluation files; update REA…
miroslavpojer e709f12
Add title parameter to release notes presence check in PR workflow
miroslavpojer f653b27
Update documentation for token-saving skill; add contribution guideli…
miroslavpojer fd9f957
Add token-saving skill documentation with response formatting rules
miroslavpojer 5d9b1d3
Remove outdated PR release notes check workflow and streamline token-…
miroslavpojer c6bc940
Fix terminology in getting started guide to clarify loading of global…
miroslavpojer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Token-Saving Skill | ||
|
|
||
| The `token-saving` skill enforces concise, low-noise AI responses. It is **always active** — it applies to every reply without needing to be triggered by a specific phrase. | ||
|
|
||
| --- | ||
|
|
||
| ## What it changes | ||
|
|
||
| Without the skill, AI assistants commonly pad responses with filler openers, closing platitudes, and repeated context. This skill removes that noise. | ||
|
|
||
| | Behaviour | Without skill | With skill | | ||
| |-----------|--------------|------------| | ||
| | Response opener | "Great question! Certainly, I'd be happy to help..." | Directly answers | | ||
| | Closing | "Let me know if you have any questions!" | Stops when done | | ||
| | Repeated context | Restates what you just said | Skips it | | ||
| | Factual answers | Unlimited prose | ≤ 5 lines | | ||
| | Action lists | Unlimited bullets | Capped at 4 | | ||
| | Full file dumps | Common | Only when you ask | | ||
|
|
||
| --- | ||
|
|
||
| ## Code output footer | ||
|
|
||
| Every response that writes or changes code ends with exactly this footer — no more, no less: | ||
|
|
||
| ``` | ||
| **What changed:** <one line> | ||
| **Why:** <one line> | ||
| **How to verify:** <command or test instruction> | ||
| ``` | ||
|
|
||
| This applies to: new functions, patches, inline diffs, config snippets, or any code block representing a change. | ||
|
|
||
| It does **not** apply to: Q&A, reviews, planning, comparisons, or conceptual explanations. | ||
|
|
||
| --- | ||
|
|
||
| ## Overriding the skill | ||
|
|
||
| The brevity rules suspend for a single response when you explicitly ask for depth: | ||
|
|
||
| > "Give me a full explanation." | ||
| > "Deep dive into this." | ||
| > "Don't hold back." | ||
| > "Complete explanation." | ||
|
|
||
| The next response is fully unrestricted. Rules resume after that. | ||
|
|
||
| --- | ||
|
|
||
| ## Precedence | ||
|
|
||
| If another active skill specifies its own output format (e.g. a review skill with a Blocker / Important / Nit structure), that format takes precedence over this skill's rules. | ||
|
|
||
| --- | ||
|
|
||
| ## Installation | ||
|
|
||
| See [Getting Started](./getting-started.md) for the full install guide. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| --- | ||
| name: token-saving | ||
| description: > | ||
|
lsulak marked this conversation as resolved.
|
||
| Always-active response formatting rules. Enforces conciseness, no filler, structured output. | ||
| Suspends on explicit verbosity requests. Another skill's format takes precedence. | ||
| --- | ||
|
|
||
| # Token-Saving | ||
|
|
||
| Always-active base behaviour. Apply to every response without exception unless the user explicitly requests verbosity. | ||
|
|
||
| ## Always apply — response discipline | ||
|
|
||
| - Default to the shortest response that fully answers the question; never sacrifice correctness or safety-critical information for brevity | ||
| - Factual or conceptual answers: prefer bullets over prose; use prose only when structure would hurt readability | ||
| - Action lists and next-step recommendations: cap at 4 bullets; no header line before the list | ||
| - Must not repeat context already established in the conversation | ||
| - Must not pad responses with preamble ("Great question!", "Certainly!", "As an AI...") | ||
| - Must not add closing summaries that restate what was just said | ||
| - Stop when the task is complete — must not append "let me know if you need anything else" filler | ||
| - Prefer structured output when it improves clarity: bullets, tables, and short code blocks over dense prose | ||
| - If another active skill or task requires a more specific output format, that format takes precedence | ||
|
|
||
| ## Format code output responses | ||
|
|
||
| End every response where you output code for the user to incorporate — new functions, patches, inline diffs, config snippets, or any code block that represents a change — with exactly this structure (no more, no less): | ||
|
|
||
| ``` | ||
| **What changed:** <one line> | ||
| **Why:** <one line> | ||
| **How to verify:** <command or test instruction> | ||
| ``` | ||
|
|
||
| This footer does NOT apply to pure Q&A, reviews, planning, comparisons, or conceptual explanations — only when you are writing or changing code. | ||
|
|
||
| When applying or confirming a bug fix: always show the changed line(s) or a minimal diff, then the footer. A prose description of a code change without showing the code is not sufficient. | ||
|
|
||
| - Must not paste full file contents unless the user explicitly asks | ||
| - Show diffs or changed sections only | ||
| - Include enough surrounding context for the change to be unambiguous | ||
|
|
||
| ## Keep summaries and recaps concise | ||
|
|
||
| - Prefer bullets over prose; use the fewest bullets that cover the content | ||
| - Prefer linking to files/lines over quoting large blocks | ||
| - Summarise deltas — what is different — not what already existed | ||
|
|
||
| ## Respond fully when detail is explicitly requested | ||
|
|
||
| If the user explicitly asks for a full explanation, rationale, or deep dive — ALL rules in this skill are suspended for that response. Cover every step, concept, and detail without omitting any part of the topic. Do not apply line limits, bullet caps, or summarisation. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.