Loading...
Loading...
Standardize zenon-red repository structure. Use when setting up a new zenon-red repo or ensuring consistency with organizational standards. Creates repositories from the nexus-template GitHub template, then customizes for the specific project.
npx skill4agent add zenon-red/skills zr-github-repositoryzenon-red/nexus-templategh repo create zenon-red/REPO_NAME --template zenon-red/nexus-template --publicgh repo clone zenon-red/REPO_NAME
cd REPO_NAMEREPO_NAME| File | Changes |
|---|---|
| Replace |
| Update |
| Update references to |
| Rename folder to actual repo name, update all content |
.github/nexus-template.pngnexus-template.pngzr-newborn.png.github/{repo-name}.pngREADME.md# Rename placeholder first
git mv .github/nexus-template.png .github/zr-newborn.png
# Update README.md to point to zr-newborn.png temporarily
# Later, replace with actual logo:
git mv .github/zr-newborn.png .github/{repo-name}.png| File | Stack-Specific Changes |
|---|---|
| Uncomment/setup your toolchain (Node, Rust, Python, Go, Deno) |
| Add lint/format commands |
| Add test/build commands |
| Uncomment and configure your package ecosystem |
| Add stack-specific patterns |
@zenon-red/zoe# .github/CODEOWNERS
* @zenon-red/team-namedocs/setup.mddocs/getting-started.mdcommands.mdarchitecture.mdexamples.mddocs/README.mdsetup.mdskills/{repo-name}/SKILL.md# Install your package manager dependencies
npm install # or cargo, pip, go mod, etc.
# Initialize husky (if using Node.js)
npx husky initgit add .
git commit -m "chore: initial setup from nexus-template"
git push -u origin mainmaingh api repos/zenon-red/REPO_NAME/branches/main/protection \
-X PUT \
-f "enforce_admins=false" \
-f "required_pull_request_reviews[required_approving_review_count]=0" \
-f "required_pull_request_reviews[dismiss_stale_reviews]=true" \
-f "required_pull_request_reviews[require_code_owner_reviews]=true" \
-f "restrictions=null" \
-f "allow_force_pushes=false" \
-f "allow_deletions=false".github/CODEOWNERSenforce_admins=false/repos/.../rulesetsrepo/
├── .github/
│ ├── {repo}.png # Logo (128px) - replace zr-newborn.png placeholder
│ ├── CODEOWNERS # Code owners (@zenon-red/zoe default)
│ ├── dependabot.yml # Dependency updates (configure for your stack)
│ ├── labeler.yml # PR label patterns
│ ├── settings.yml # Repo settings and labels
│ └── workflows/
│ ├── ci.yml # Stack-specific CI pipeline
│ ├── labeler.yml # Auto-label PRs
│ └── stale-issues-prs.yml
├── .husky/
│ ├── commit-msg # Commit message validation (optional)
│ ├── pre-commit # Pre-commit checks (lint, format)
│ └── pre-push # Pre-push checks (test, build)
├── docs/ # Documentation
│ ├── README.md # Docs index (remove setup.md link)
│ ├── getting-started.md # (create as needed)
│ └── ... # Other user docs (setup.md removed)
├── skills/
│ └── {repo-name}/
│ └── SKILL.md # Repo-specific agent guidance
├── src/ # Source code (create for your stack)
├── .gitignore # Stack-specific ignore patterns
├── CONTRIBUTING.md # Contribution guidelines (can override org)
├── LICENSE # MIT license
├── README.md # Main project README
└── {config files} # package.json, Cargo.toml, etc.# TypeScript/JavaScript
npm run lint:staged && npm run typecheck
# Rust
cargo fmt --check && cargo clippy
# Python
ruff check . && mypy .
# Go
go fmt ./... && go vet ./...
# Deno
deno lint && deno check# TypeScript/JavaScript
npm run check:push
# Rust
cargo test && cargo clippy -- -D warnings
# Python
pytest && ruff check .
# Go
go test ./... && go build ./...
# Deno
deno test && deno lint.github/settings.yml| Label | Color | Description |
|---|---|---|
| d73a4a | Something isn't working |
| 0e8a16 | New feature or request |
| 6f42c1 | Planned implementation work item |
| 0075ca | Documentation improvements |
| 0075ca | Documentation changes (PR label) |
| 1d76db | Source code changes |
| 0366d6 | Dependency updates |
| 5319e7 | Configuration changes |
| fbca04 | Exempt from stale bot |
taskzenon-red/.github/| File | Inherited? | Notes |
|---|---|---|
| ✅ Yes | Org-level PR template |
| ✅ Yes | Bug, feature, task, docs forms |
| ✅ Yes (fallback) | Template includes a copy; can override |
zenon-red/nexus-templateREADME.md.github/settings.ymlnexus-template.pngzr-newborn.pngREADME.mdskills/{repo}/SKILL.md.github/dependabot.yml.github/workflows/ci.yml.husky/pre-commit.husky/pre-push.gitignoredocs/setup.mddocs/getting-started.mdpackage.jsonCargo.toml--template zenon-red/nexus-templatetaskchmod +x .husky/*