agentleFS
cannoneer85-svgcannoneer85-svg/StrataNote/.agents/skills/release/SKILL.md

release

Skill1 starsChanged 4 months agoMITView on GitHub

Prepare a new release of StrataNote. Activate when the user types /release or asks to "оформить релиз" or "подготовить релиз".

  • Commits and pushes

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-agent-adapter, changelog-style and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 6 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR (adding to the [Unreleased] section) or cutting a release (moving [Unreleased] under a new version heading).

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares and validates GPT-RAG MCP component releases. Use for versions, dependency locks, changelog entries, release branches, tags, GitHub Releases, and platform pin coordination.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • m13vSkill

    test-release

    Use when the user says "test the release", "smoke test", "verify the build works", "test staging", "test the new version", or after promoting a release to staging/beta/stable. Smoke-tests the shipped Fazm production app via Sparkle auto-update on local + MacStadium, sends test queries via distributed notifications, checks logs. Does NOT build anything.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 4 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read package.json to get the current version.

    line 15
  2. Very specific:

    Run git fetch open to check if open/master contains commits that are not present in local master.

    line 17
  3. Very specific:

    If there are remote commits in open/master (e.g., from Mintlify bot), warn the user that these changes will be overwritten by the release.

    line 18
  4. Very specific:

    If new features, UI controls, settings tabs, or modules were introduced, the agent MUST automatically update the user-facing documentation …

    line 30
  5. Very specific:

    Add new .mdx pages (e.g., docs/user-guides/tags.mdx) or update existing ones (e.g., docs/user-guides/settings.mdx) describing the user …

    line 31
  6. Very specific:

    If changes affect the repository structure, project stack, local sync configuration, APIs, or installation flow, the agent MUST proactively …

    line 33
  7. Distinctive:

    Ask the user to confirm.

    line 36
  8. Very specific:

    If approved, run the release script to update package.json files, releases.json, and CHANGELOG.md with bilingual details:

    line 38
  9. Distinctive:

    Ask confirmation to commit, tag, and push to the public (open) remote.

    line 44
  10. Distinctive:

    Run the following commands:

    line 50
  11. Distinctive:

    Run the API release publication script:

    line 81

“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release Preparation Workflows

This skill automates the release process for StrataNote.

Workflow

  1. Analyze changes:
    • Find the last Git tag: git describe --tags --abbrev=0 (handle fallback if no tags exist).
    • Get commits since the last tag: git log <last_tag>..HEAD --oneline (or all commits if no tags exist).
    • Read package.json to get the current version.
    • Check for remote changes in the open repository:
      • Run git fetch open to check if open/master contains commits that are not present in local master.
      • If there are remote commits in open/master (e.g., from Mintlify bot), warn the user that these changes will be overwritten by the release.
      • Offer to automatically merge them before proceeding by running git pull open master --allow-unrelated-histories, resolving conflicts in favor of the incoming changes (git checkout --theirs docs/ for documentation conflicts), and committing the merge.
  2. Determine SemVer increment:
    • Parse commit messages to recommend:
      • MAJOR if there are breaking changes (e.g. feat!:, tweak!:, or BREAKING CHANGE:).
      • MINOR if there are major feature commits (e.g. feat:).
      • PATCH if there are only tweaks, bugfixes, chores, docs, or other non-feat commits (e.g. tweak:, fix:, docs:, chore:, ref:, style:, perf:).
  3. Collect Bilingual Keynotes & Titles:
    • Summarize the commits since the last release into bullet points in both English and Russian.
    • Crucial Title Formatting Rule: Propose only the short feature name as the title (e.g., Preserve Selection and All-Views Commenting / Сохранение выделения и комментирование во всех режимах). Do NOT prefix the titles with "Version", "Version X.Y.Z", "Версия", "vX.Y.Z" or similar, since the release script automatically prepends the version prefix v<version>: to the title.
  4. Review and Update Documentation:
    • Analyze the release commits and changes in _app/project_status.md or walkthrough.md.
    • If new features, UI controls, settings tabs, or modules were introduced, the agent MUST automatically update the user-facing documentation in docs/user-guides/ before proceeding:
      • Add new .mdx pages (e.g., docs/user-guides/tags.mdx) or update existing ones (e.g., docs/user-guides/settings.mdx) describing the user flows, configs, and access controls of new features.
      • Register any new guide pages inside docs/docs.json under the "User Guides" navigation group.
    • If changes affect the repository structure, project stack, local sync configuration, APIs, or installation flow, the agent MUST proactively update both README.md (English) and README.ru.md (Russian).
  5. Propose release package:
    • Show the recommended new version (e.g. 1.5.0), titles, keynotes for both languages, and any proposed README modifications.
    • Ask the user to confirm.
  6. Run release script:
    • If approved, run the release script to update package.json files, releases.json, and CHANGELOG.md with bilingual details:
      node _app/scripts/prepare-release.js <new_version> <date> --title_en "<title_en>" --title_ru "<title_ru>" --keynotes_en "EN Keynote 1" "EN Keynote 2" --keynotes_ru "RU Keynote 1" "RU Keynote 2"
  7. Create release commit, tag, and push:
    • Present the file modifications.
    • Ask confirmation to commit, tag, and push to the public (open) remote.
    • Crucial Security & Remote Push Rules:
      • Команда /release осуществляет пуш ТОЛЬКО в публичный открытый репозиторий open (stratanote.git).
      • НИКОГДА не отправляйте изменения и теги в приватный репозиторий (origin) во время работы команды /release.
      • Все пуши в приватный репозиторий origin (Obsidian Collab) должны происходить отдельно через соответствующий навык /push (или вручную), чтобы разделять процессы релиза и внутренней разработки.
      • Чтобы скрыть историю разработки при публикации в открытый репозиторий open, пуш в него выполняется как плоский (squashed) коммит с временной ветки-сироты (orphan).
    • Run the following commands:
      # 1. Сделать коммит локальных изменений версий в ветке master
      git add -A
      git commit -m "chore(release): v<new_version>"
      
      # 2. Создать тег локально
      git tag v<new_version>
      
      # 3. Отправить чистый «плоский» коммит релиза и тег в публичный репозиторий (open):
      git checkout --orphan temp-open-release
      
      # Исключаем файл приватного автодеплоя из Open Source коммита (используем кроссплатформенный git rm -f)
      git rm -f .github/workflows/deploy.yml || true
      
      # Исключаем приватный файл дорожной карты из Open Source коммита (используем кроссплатформенный git rm -f)
      git rm -f _app/stratanote_roadmap_features.md || true
      
      # Заменяем ссылки на приватный репозиторий на ссылки открытого репозитория во всей документации API
      node -e "const fs = require('fs'); const path = require('path'); function replaceInDir(dir) { fs.readdirSync(dir).forEach(f => { const p = path.join(dir, f); if (fs.statSync(p).isDirectory()) { replaceInDir(p); } else if (f.endsWith('.md')) { let content = fs.readFileSync(p, 'utf8'); if (content.includes('obsidian-collab')) { fs.writeFileSync(p, content.replace(/obsidian-collab/g, 'stratanote'), 'utf8'); } } }); } replaceInDir('docs/api-reference');"
      
      git add -A
      git commit -m "release: v<new_version>"
      git tag -f v<new_version>
      git push open temp-open-release:master --force --tags
      
      # 4. Вернуться обратно в master и удалить временную ветку (пуш в origin здесь НЕ выполняется):
      git checkout master
      git branch -D temp-open-release
  8. Publish to GitHub Releases:
    • Run the API release publication script:
      node _app/scripts/prepare-release.js --publish <new_version>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.