release-dart-package-action
Publish Flutter Package
This skill automates the Flutter package release workflow triggered by git tags.
Workflow
0. Pre-check
0.1 Project Root
Verify that the current working directory is the root of the Git repository (contains a .git folder and the main pubspec.yaml).
- If not at the root (e.g., inside a sub-package directory), advise the user to switch to the project root directory before proceeding to ensure
.github/workflowsand workspace configurations can be correctly identified.
0.2 Detect Packages (Workspace Support)
Read the root pubspec.yaml file.
- Check for the
workspace:field. - If present, parse the paths (e.g.,
- packages/*) to find all nested packages. - Ask the user which package to publish if multiple are detected.
- Store the relative path to the selected package (e.g.,
packages/my_package) for subsequent steps.
0.3 Git & Remote Pre-check
More from hu-wentao/wyatt_skills
clear-flutter-env
用于在 macOS 上清除 Flutter 环境变量 (FLUTTER_STORAGE_BASE_URL 和 PUB_HOSTED_URL)。适用于需要重置环境或解决 Flutter 代理问题的场景。
16publish-flutter-package
Automates the Flutter package release process via git tags and GitHub Actions. Handles multi-package workspaces, SemVer versioning suggestions based on git history, updating pubspec.yaml and CHANGELOG.md, and dry-run validation. Use when the user wants to "release", "publish", or "version" a Flutter package.
15git-worktree
Create a git worktree for the current repository at the same directory level as the project root. This skill automates branch creation, directory naming according to the format project-T-branch, and initial project setup (e.g., dependency installation). Use this when the user wants to work on a new feature or fix without switching their current workspace.
14update-wyatt-skills
用于更新 'wyatt_skills'仓库包含的技能集合, 当用户需要更新skills调用.
13merge-branch-into-current
Merge a specified branch into the current branch with a merge commit. Use this when the user wants to merge one branch into the current branch, or when Codex should auto-detect the source branch while currently on main. The skill checks whether the source branch and target branch have uncommitted work in any active git worktree and aborts if either branch is dirty.
2release-flutter-web-s3
Prepare, build, and publish a Flutter Web app to S3-compatible object storage. Use when Codex needs to bump or update pubspec.yaml version, create a Flutter Web release tag, configure a reusable S3 deployment script, build build/web, upload or promote web assets, or inspect a Flutter Web S3 release workflow.
1