promote
Skill2 starsChanged 6 months agoMITView on GitHub
Build a Layer 2 promotion evidence package for the internal Next.js business app template.
- Reads credentials
14 other projects use a version of this.
Adopted by
Most recently taken up by
- ArcticFox2029/chamnantheir own version, first seen Sep 30, 2026
- dominionism/Playbooktheir own version, first seen Sep 11, 2026
- jbaruch/nanoclaw-hosttheir own version, first seen Aug 28, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- oliver-kriska/claude-elixir-phoenixtheir own version, first seen Jul 21, 2026
- wrg32786/aigent-ostheir own version, first seen Jul 19, 2026
Used with
Projects with it also use research and review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- oliver-kriska/claude-elixir-phoenix★ 561same name
- wrg32786/aigent-os★ 19same name
- Hassaan146/claude-skills★ 18same name
- iankiku/forwward-teams★ 18same name
- shahshrey/unclaw★ 16same name
- ArcticFox2029/chamnan★ 9same name
- nmhjklnm/yaohe★ 9same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- amurthygithub/Sharevalue_claude_skills★ 1same name
- jbaruch/nanoclaw-host★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- improveSkill
- teamSkill
- ccf-architecture-contractSkill
- ccf-build-and-envSkill
- ccf-change-controlSkill
- ccf-debugging-playbookSkill
- ccf-doc-sync-campaignSkill
- ccf-dogfood-and-driftSkill
- ccf-domain-referenceSkill
- ccf-failure-archaeologySkill
- ccf-onboarding-tourSkill
- ccf-parity-playbookSkill
- ccf-release-and-installSkill
- ccf-testing-and-qaSkill
- improveSkill
- teamSkill
- add-referenceSkill
- ai-updateSkill
- app-blueprintSkill
- buildSkill
- check-readinessSkill
- deploySkill
- developSkill
- draft-storySkill
- error-analyzeSkill
- factorySkill
- fetch-docsSkill
- generate-internal-appSkill
- impactSkill
- improveSkill
- indexSkill
- iterative-reviewSkill
- merge-resolveSkill
- mock-endpointSkill
- planSkill
- refine-storySkill
- scaffold-design-systemSkill
- searchSkill
- setupSkill
- teamSkill
- skill-nameSkill
- update-trackerSkill
- validateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 12 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Only Layer 2 is supported.
- Very specific: line 27
If LAYER.md.template exists or intake tokens remain, stop.
- Distinctive: line 33
Run read-only checks first and record the command/result in the report.
- Distinctive: line 55
Run a focused secret scan over tracked files:
- Distinctive: line 59
Treat findings in examples/docs as warnings unless they contain real-looking values.
- Distinctive: line 67
Run the project validation commands when dependencies are installed:
- Distinctive: line 74
If dependencies are missing, record that validation could not run and list the missing prerequisite.
- Distinctive: line 78
Run these review agents and include their summaries in the report:
- Distinctive: line 84
Ask each reviewer to focus on Layer 2 promotion readiness for an internal, non-business-critical tool.
- Very specific: line 101
Write .claude/state/promotion-l2-report.md.
- Very specific: line 154
Do not update LAYER.md to 2.
- Distinctive: line 155
Do not create production secrets or Entra registrations.
- Distinctive: line 156
Do not deploy the app.
- Distinctive: line 157
Do not treat this report as approval.
- Distinctive: line 158
Do not proceed for Layer 3.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Promote
Produce an evidence package for moving an internal Next.js business app from Layer 1 to Layer 2. This is not an approval step and must not update LAYER.md to 2; IT does that after sign-off.
Usage
/promote
/promote --layer 2Only Layer 2 is supported. Layer 3 is a formal project, not a checklist promotion.
Preconditions
The target repo should be an internal Next.js business app created from this framework:
LAYER.mdexists and has no<<intake:*>>tokens.package.json,prisma/schema.prisma,src/lib/auth,src/lib/blob/client.ts, andsrc/lib/audit-log/repository.tsexist.docs/deployment-layers.mdexists in the provisioned repo, or the source template doc is available from the framework.
If LAYER.md.template exists or intake tokens remain, stop. The repo has not been provisioned correctly.
Process
Phase 1: Mechanical Checks
Run read-only checks first and record the command/result in the report.
Required checks:
- Confirm the working tree is clean:
git status --short - Confirm
LAYER.mdexists andLAYER.md.templatedoes not:test -f LAYER.md && test ! -f LAYER.md.template - Confirm no intake tokens remain in stamped seed files:
The command should produce no output. Documentation files may still mention token names as examples.grep -n "<<intake:" LAYER.md README.md CLAUDE.md 2>/dev/null - Confirm no committed local env files:
git ls-files | grep -E '(^|/)\.env($|\.|/)' | grep -vE '(^|/)\.env\.example$'.env.exampleis allowed. Any committed.env,.env.local,.env.production, or equivalent is a blocker. - Run a focused secret scan over tracked files:
Treat findings in examples/docs as warnings unless they contain real-looking values.git grep -n -E 'sk-proj-|sk-org-|AKIA[0-9A-Z]{16}|-----BEGIN .*KEY-----|client_secret|password' -- . - Confirm Layer 2-relevant app boundaries exist:
test -f src/lib/auth/oidc.ts test -f src/lib/blob/client.ts test -f src/lib/audit-log/repository.ts test -f prisma/schema.prisma - Run the project validation commands when dependencies are installed:
If dependencies are missing, record that validation could not run and list the missing prerequisite.npm run typecheck npm run lint npm run build npm audit --audit-level=high
Phase 2: Specialist Reviews
Run these review agents and include their summaries in the report:
security-auditorobservability-reviewersupply-chain-reviewer
Ask each reviewer to focus on Layer 2 promotion readiness for an internal, non-business-critical tool. High-severity findings are blockers unless risk-accepted by IT in writing.
Phase 3: Manual Evidence
Record these as manual checklist items. Do not mark them passed unless the user provides concrete evidence during the session.
- Entra app registration exists with redirect URI matching the hosted
APP_URL. AUTH_MODE=oidcis configured in the hosted environment.OIDC_ALLOWED_EMAIL_DOMAINSrestricts access to the intended division/team.- Production secrets live in the hosting platform secret store or Key Vault, not repo files.
- Hosted Postgres is configured and automated backups are enabled.
- Production audit log table exists and retention is defined.
- Application logs reach a central destination.
- Named owner is confirmed and reachable.
Phase 4: Report
Write .claude/state/promotion-l2-report.md. Create .claude/state/ if needed.
Use this structure:
# Layer 2 Promotion Evidence
Generated: <ISO timestamp>
Repo: <repo name or path>
Commit: <git rev-parse HEAD>
Requested layer: 2
Current layer: <from LAYER.md>
Owner: <from LAYER.md>
## Result
Status: BLOCKED | READY_FOR_IT_REVIEW
## Mechanical Checks
| Check | Result | Evidence |
|---|---|---|
| Clean working tree | PASS/FAIL | <command output summary> |
## Specialist Reviews
### security-auditor
<summary and blockers>
### observability-reviewer
<summary and blockers>
### supply-chain-reviewer
<summary and blockers>
## Manual Evidence Required
| Item | Status | Evidence |
|---|---|---|
## Blockers
- <blocker or "None">
## Notes For IT
- This report is evidence only. It does not approve promotion and did not modify `LAYER.md`.READY_FOR_IT_REVIEW means the mechanical checks passed and no unresolved high-severity reviewer findings remain. Manual evidence may still need IT verification.
Hard Rules
- Do not update
LAYER.mdto2. - Do not create production secrets or Entra registrations.
- Do not deploy the app.
- Do not treat this report as approval.
- Do not proceed for Layer 3; tell the user to open a formal project intake.
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.

