speckit.sync-template
Skill438 starsChanged 53 days agoApache-2.0View on GitHub
You MUST consider the user input before proceeding (if not empty). Valid arguments: --check (preview only, no writes), --force (apply without prompting), a specific version string like v1.2.0. You are syncing this repository with the upstream cisco-eti/repo-template. Follow these steps exactly. 1. Use the GitHub API to find the latest release of the upstream repo: GET https://api.github.com/repos/<source>/releases/latest 2. Extract tag_name (e.g., v1.1.0) and assets (find the ZIP asset and manifest.json asset). 3. If the user specified a version in $ARGUMENTS,…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cnoe-io/ai-platform-engineeringword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- cnoe-io/ai-platform-engineering★ 438100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/docker-compose-first-install.mdcCursor rule
- .cursor/rules/safe-git-worktree.mdcCursor rule
- .cursor/rules/specify-rules.mdcCursor rule
- docker-compose-first-installSkill
- local-integration-testingSkill
- release-docsSkill
- run-caipe-integration-testsSkill
- skillsSkill
- speckit.analyzeSkill
- speckit.checklistSkill
- speckit.clarifySkill
- speckit.constitutionSkill
- speckit.implementSkill
- speckit.planSkill
- speckit.specifySkill
- speckit.tasksSkill
- speckit.taskstoissuesSkill
- streaming-testingSkill
- ui-performance-benchmarkSkill
- update-docsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 3 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
If .specify/upstream.yml does not exist, halt and tell the user: "This repo has no .specify/upstream.yml.
- Very specific: line 32
Use the GitHub API to find the latest release of the upstream repo: GET https://api.github.com/repos/<source>/releases/latest
- Very specific: line 35
If the user specified a version in $ARGUMENTS, use that version instead of latest.
- Very specific: line 37
If equal: report "Already at latest version <version>.
- Very specific: line 50
Start with changed_files from the manifest.
- Very specific: line 51
Remove any file listed in .specify/upstream.yml overrides — these are skipped.
- Very specific: line 72
If --check was passed, stop here.
- Very specific: line 74
If semver_bump is "major":
- Distinctive: line 78
Ask the user: "Do you want to proceed?
- Distinctive: line 95
After a successful sync:
- Very specific: line 97
If any docs/plan/ files were updated: "Tip: Review the updated docs/plan/ files.
- Very specific: line 98
If any .claude/skills/ or .agents/skills/ were updated: "New or updated skills are available.
- Distinctive: line 99
If the bump was MAJOR: "MAJOR sync applied.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
<!-- Sync with upstream repo-template updates --><!-- AUTO-GENERATED — DO NOT EDIT --><!-- Source: .specify/templates/commands/sync-template.md --><!-- Regenerate: make generate-agent-files -->description: Sync with upstream repo-template updates scripts: sh: scripts/bash/sync-template.sh "$ARGUMENTS"
User Input
$ARGUMENTSYou MUST consider the user input before proceeding (if not empty). Valid arguments: --check (preview only, no writes), --force (apply without prompting), a specific version string like v1.2.0.
Outline
You are syncing this repository with the upstream cisco-eti/repo-template. Follow these steps exactly.
Step 1 — Read current state
- Read
.specify/upstream.yml.- Extract
source(e.g.,cisco-eti/repo-template),version(current applied version),overrides(list of files to skip).
- Extract
- If
.specify/upstream.ymldoes not exist, halt and tell the user: "This repo has no .specify/upstream.yml. Initialize it first using the template at cisco-eti/repo-template."
Step 2 — Discover latest release
- Use the GitHub API to find the latest release of the upstream repo:
GET https://api.github.com/repos/<source>/releases/latest - Extract
tag_name(e.g.,v1.1.0) andassets(find the ZIP asset andmanifest.jsonasset). - If the user specified a version in
$ARGUMENTS, use that version instead of latest. - Compare
tag_nameto currentversion:- If equal: report "Already at latest version
<version>. Nothing to do." and stop (unless--forcewas passed).
- If equal: report "Already at latest version
Step 3 — Read the manifest
- Download
manifest.jsonfrom the release assets. - Parse:
semver_bump:"major","minor", or"patch"changed_files: list of files changed in this releasebreaking_files: list of files with breaking changeschangelog_url: link to view details
Step 4 — Determine what to apply
- Start with
changed_filesfrom the manifest. - Remove any file listed in
.specify/upstream.ymloverrides— these are skipped. - Remaining files = apply set.
- Intersect
apply setwithbreaking_files→ breaking set (files in apply set that are also breaking).
Step 5 — Preview (always show before writing)
Print a summary table:
Upstream version: v1.0.0 → v1.1.0 (MINOR bump)
Files to apply:
docs/plan/SKILLS.md [updated]
.claude/skills/speckit.new-skill/SKILL.md [added]
Files skipped (overrides):
docs/plan/CONSTITUTION.md [override — local version preserved]
Breaking changes: noneIf --check was passed, stop here. Do not write any files.
If semver_bump is "major":
- Print: "⚠️ MAJOR version bump — this includes constitutional or breaking changes."
- Print the list of breaking files with a note about each.
- Ask the user: "Do you want to proceed? Constitutional changes require human review. (yes/no)"
- If no: stop.
Step 6 — Apply files
- Download and extract the release ZIP.
- For each file in the apply set: a. If the local file does not exist: write it directly (new addition). b. If the local file exists: show a unified diff, then overwrite it.
- Update
.specify/upstream.yml:- Set
versionto the new version tag (strip thevprefix:1.1.0) - Set
pinned_atto today's date (ISO 8601) - Leave
overridesunchanged.
- Set
- Report: "Sync complete. Applied
<N>files. Version updated to<version>."
Step 7 — Post-sync guidance
After a successful sync:
- If any
docs/plan/files were updated: "Tip: Review the updated docs/plan/ files. If the ARCHITECTURE.md or CONSTITUTION.md was updated, compare with your project-specific overrides." - If any
.claude/skills/or.agents/skills/were updated: "New or updated skills are available. Run/speckit.specify --helpor check .claude/skills/ for changes." - If the bump was MAJOR: "MAJOR sync applied. Verify your override files are still consistent with the new template base."
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.

