saas-github
Skill0 starsChanged 6 months agoMITView on GitHub
Prepare a halfway local Product OS project for GitHub, create or connect a private repo, establish the baseline branch, audit open PRs, and define branch/PR workflow for future features.
- Reads credentials
- Commits and pushes
In this repository22 other files it gives its agents.
- saas-adrSkill
- saas-architectureSkill
- saas-build-taskSkill
- saas-change-requestSkill
- saas-checkSkill
- saas-contextSkill
- saas-coordinatorSkill
- saas-design-systemSkill
- saas-doneSkill
- saas-feature-cycleSkill
- saas-featureSkill
- saas-layers-mapSkill
- saas-planSkill
- saas-platform-constitutionSkill
- saas-product-modelSkill
- saas-reviewSkill
- saas-securitySkill
- saas-stack-builderSkill
- saas-startSkill
- saas-tasksSkill
- saas-updateSkill
- saas-workerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 20 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Use this skill when the user wants to move a local Product OS project into GitHub, clean up halfway project state, or align branches/PRs …
- Distinctive: line 14
Create or connect a private GitHub repository.
- Distinctive: line 22
Do not expose or print real secrets.
- Very specific: line 23
Do not commit .env, .env.*, .dev.vars, local databases, uploads, generated artefacts, or cache directories.
- Distinctive: line 24
Do not delete branches or close PRs without a clear classification.
- Distinctive: line 25
Do not rewrite history unless the user explicitly requests it.
- Distinctive: line 26
If the GitHub repository is empty and the local project is the desired baseline, push local main as the baseline.
- Distinctive: line 27
If there are existing open PRs, classify them before suggesting merge/close.
- Distinctive: line 28
If no GitHub MCP is available, use GitHub CLI commands as the fallback.
- Distinctive: line 32
Before creating or pushing:
- Distinctive: line 42
Check for accidental secrets:
- Distinctive: line 49
If any real secret/local persistence files appear, stop and recommend adding/removing from Git tracking before pushing.
- Distinctive: line 53
If no remote exists:
- Distinctive: line 64
If the repo name should be under an organisation:
- Distinctive: line 70
If an empty GitHub repo already exists:
- Distinctive: line 80
If a remote already exists:
- Distinctive: line 93
Treat the current local state as the baseline if it represents the best current truth.
- Distinctive: line 94
Do not attempt to reconstruct historical PRs.
- Very specific: line 96
Run $saas-check immediately after pushing.
- Distinctive: line 97
Start branch/PR tracking from the next feature forward.
- Distinctive: line 101
After the repo exists:
- Distinctive: line 128
If safe and approved:
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SaaS Product OS GitHub Skill
Use this skill when the user wants to move a local Product OS project into GitHub, clean up halfway project state, or align branches/PRs with specs and feature completion.
Primary goals
- Protect secrets and local-only files before the first push.
- Confirm
.gitignore,.env.example, and.dev.vars.exampleexist. - Create or connect a private GitHub repository.
- Push the current local project as the baseline.
- Audit current branches and PRs.
- Close stale PRs only after explaining why.
- Establish the future feature branch/PR workflow.
Safety rules
- Do not expose or print real secrets.
- Do not commit
.env,.env.*,.dev.vars, local databases, uploads, generated artefacts, or cache directories. - Do not delete branches or close PRs without a clear classification.
- Do not rewrite history unless the user explicitly requests it.
- If the GitHub repository is empty and the local project is the desired baseline, push local
mainas the baseline. - If there are existing open PRs, classify them before suggesting merge/close.
- If no GitHub MCP is available, use GitHub CLI commands as the fallback.
Required audit
Before creating or pushing:
pwd
git status --short
git rev-parse --is-inside-work-tree
git branch --show-current
ls -la .gitignore .env.example .dev.vars.example 2>/dev/null || trueCheck for accidental secrets:
git status --short
find . -maxdepth 3 \( -name ".env" -o -name ".env.*" -o -name ".dev.vars" -o -name "*.sqlite" -o -name "*.sqlite3" -o -name "*.db" \) -not -name ".env.example" -not -name ".dev.vars.example" -printIf any real secret/local persistence files appear, stop and recommend adding/removing from Git tracking before pushing.
Private repo creation flow
If no remote exists:
git init
git branch -M main
git add .
git commit -m "Initial ProspectPro project baseline"
gh auth login
gh repo create prospectpro --private --source=. --remote=origin --pushIf the repo name should be under an organisation:
gh repo create ORG_NAME/prospectpro --private --source=. --remote=origin --pushIf an empty GitHub repo already exists:
git remote add origin git@github.com:OWNER/prospectpro.git
git branch -M main
git add .
git commit -m "Initial ProspectPro project baseline"
git push -u origin mainIf a remote already exists:
git remote -v
git status --short
git branch --show-current
git push -u origin mainHalfway project baseline rule
For a project that is already partly built locally:
- Treat the current local state as the baseline if it represents the best current truth.
- Do not attempt to reconstruct historical PRs.
- Push the baseline to
main. - Run
$saas-checkimmediately after pushing. - Start branch/PR tracking from the next feature forward.
PR audit
After the repo exists:
gh pr list --state open --json number,title,headRefName,baseRefName,isDraft,mergeStateStatus,updatedAt,urlFor each open PR:
gh pr view PR_NUMBER --comments
gh pr checks PR_NUMBER
gh pr diff PR_NUMBERClassify each PR as:
- Keep and continue
- Merge after review
- Close as superseded
- Needs user decision
Close stale/superseded PRs with a comment:
gh pr close PR_NUMBER --comment "Closing as superseded by the current Product OS baseline. Future feature work will be tracked through feature branches and PRs."If safe and approved:
gh pr close PR_NUMBER --delete-branch --comment "Closing as superseded by the current Product OS baseline. Future feature work will be tracked through feature branches and PRs."Future feature workflow
For every new feature:
git checkout main
git pull
git checkout -b feature/FEATURE_NUMBER-feature-nameRun:
Use the $saas-feature-cycle skill for FEATURE_NUMBER-feature-name.
Tie all work to the current branch and PR.Push and open PR:
git push -u origin feature/FEATURE_NUMBER-feature-name
gh pr create --title "Feature FEATURE_NUMBER: Feature name" --body-file specs/FEATURE_NUMBER-feature-name/pr-summary.mdCompletion logic
A feature can be marked done only when:
- The branch matches the feature.
- There is a PR or an explicit local-only exception.
- The spec, plan, tasks, and implementation are aligned.
- GitHub checks are passing or exceptions are documented.
- Security/tenancy checks are completed.
- The PR summary lists completed tasks and changed files.
$saas-reviewpasses or all required changes are resolved.
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
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.

