.cursor/skills/git-push-creator/SKILL.md
Push the current local branch to `origin` using the same branch name on the remote. Use when the user asks to push the current branch or publish local commits. If the current branch is the resolved core branch (`main` or `develop`), abort and return a safety message.
npx skillsauth add dneprokos/skills-examples git-push-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Push the current branch to origin safely.
Use it for requests like:
Do not use it for:
main or develop)Check the current local branch name first.
Resolve the core branch first (main preferred, then develop).
If the branch matches that resolved core branch, stop immediately and return:
You cannot push to the <core-branch> branch with this skill.
Push the local branch to origin using the same branch name remotely.
Example:
pwsh -NoProfile -File ./.github/skills/git-push-creator/scripts/push-branch.ps1
The helper script will:
main then develop)origin/<same-branch-name>Do not guess success. Return the real git output after the push completes.
main or develop) with this skill.--force or --force-with-lease unless the user explicitly requests it.data-ai
Install and configure Windows Credential Manager style secret storage for PowerShell using SecretManagement and SecretStore. Use when users ask to install secret manager support, set up Credential Manager for GitHub token storage, or bootstrap GitHubToken for PR skills.
development
Generate a complete, compilable unit test file from an Analyst test plan and Architect strategy. Uses AAA pattern, language-specific frameworks (NUnit, JUnit 5, pytest, Vitest), correct mock/real dependency instantiation, constructor null-guard tests, parameterized tests, and setup/teardown hooks. Input is the Analyst JSON plan plus Architect strategy summary. Use when asked to generate test code, write test implementation, create test file, or implement tests from a plan. Also invoked as Phase 3 by the unit-test-generator agent.
development
Define the mocking strategy and assertion style for a unit test plan. Classifies each dependency as mock or real, resolves assertion framework and test file location from project patterns, lists constructor null-guard tests with expected exception types, and specifies abstraction interfaces for non-deterministic calls. Input is a JSON test plan from ut-analyst. Use when asked to define mocking strategy, plan test architecture, classify dependencies as mock vs real, or design test structure. Also invoked as Phase 2 by the unit-test-generator agent.
testing
Analyze a class or function and produce a structured JSON test plan. Classifies all dependencies (interface, abstract, valueObject, dto, primitive), detects non-deterministic calls, enumerates test cases using black-box techniques (Equivalence Partitioning, Boundary Value Analysis, Decision Table, State Transition), and lists constructor null-guard requirements. Use when asked to analyze a class for testing, create a test plan, classify dependencies, or produce test case inventory. Also invoked as Phase 1 by the unit-test-generator agent.