19.7k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill dyad-sh/dyad --skill fast-push- SKILL.md7.6 KB
Overview
This skill automates committing any uncommitted changes, runs lint and formatting checks, fixes issues, and pushes the current branch to GitHub. It delegates execution to a fast haiku sub-agent to perform all steps autonomously. The skill always creates or updates a PR and never prompts the user for confirmation.
How this skill works
The skill spawns a sub-agent (model: "haiku") that runs a prescribed sequence of git and npm commands: ensure you're not on main, stage and commit relevant changes, run formatting and lint fixes, amend commits if lint alters files, and push the branch with safe force semantics. It also inspects remotes and existing PRs to choose the correct push destination, creates a PR if none exists, and removes a specific review label when present. Finally, the sub-agent reports a concise summary including branch name, committed files, ignored files, lint fixes, push status, and the PR URL.
When to use it
- You have local changes ready to record and publish without interactive prompts.
- You want an automated, opinionated push that runs formatting and lint fixes first.
- You need a quick PR created or updated from the current branch.
- You want a safe push that avoids directly pushing to main/master.
- You prefer a fast sub-agent to complete the workflow end-to-end without interruptions.
Best practices
- Ensure no sensitive files (.env, *.key, credentials.*) are staged; the agent will skip those by policy.
- Keep commit messages descriptive; the skill will synthesize a summary but relies on commit context.
- Run tests locally before invoking for complex changes, since this skill focuses on lint/format and push.
- Avoid running this while collaborative commits are actively being pushed to the same branch to minimize conflicts.
- Confirm git remotes are configured (origin/upstream) so the agent can select the correct push target.
Example use cases
- Finish a small feature branch: stage edits, auto-fix lint problems, and push a PR without manual steps.
- Quickly publish a hotfix branch that was developed locally with automatic linting and commit amendment.
- Normalize formatting across files and push an amended commit when lint autofixes produce changes.
- Push commits from a personal fork or a repo with multiple remotes; the agent picks the correct remote and creates/updates the PR.
- Automate routine developer workflow for CI-friendly commits and consistent PR descriptions.
FAQ
No. The skill will not push directly to main or master; it creates a new branch if needed and pushes that branch.
Does it ask for confirmation before committing or pushing?
No. The sub-agent is instructed to run autonomously and will not prompt for user confirmation.
What happens to secrets or large artifacts?
The agent is configured to skip obvious secrets and artifacts (e.g., .env, node_modules, *.key). Skipped files are reported at the end.