Skip to content
Agentmart
Submit a tool

cross-repo-upstream-submodule-sync

Skill by haitaopanhq

IndexedApache-2.0★ 1
Write a review

Chalk Labs

Need help deploying cross-repo-upstream-submodule-sync?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/haitaopanhq-cross-repo-upstream-submodule-sync

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
cross-repo-upstream-submodule-sync
Description
None
License
Apache-2.0
Instructions
165 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • invalid YAML frontmatter: Nested mappings are not allowed in compact mappings at line 2, column 14:
  • name: missing
  • description: missing
  • body: contains an absolute path from the author's machine

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Cross-Repo Upstream Sync

## Goal

Use this skill when the real source repo lives outside the control repo and the control repo tracks it through a sibling checkout.

Default example:

- upstream repo: `/Users/shenlan/workspaces/cloud-neutral-toolkit/accounts.svc.plus`
- sibling checkout: `/Users/shenlan/workspaces/cloud-neutral-toolkit/accounts.svc.plus`
- control repo: `/Users/shenlan/workspaces/cloud-neutral-toolkit/github-org-cloud-neutral-toolkit`

## Required Order

Always execute in this order:

1. fix the upstream repo
2. commit and push the upstream repo
3. verify the control-plane reference in the control repo
4. commit and push the control repo pointer change

Do not make the primary code change only inside the control repo metadata checkout. The sibling repo is the source of truth.

## Preconditions

Before editing:

- confirm the upstream repo path
- confirm the sibling checkout path
- confirm the target branch for the upstream repo
- confirm the control repo branch
- inspect `git status --short` in all three working trees

If the task involves env vars, tokens, passwords, keys, or secret files, also follow [../env-secrets-governance/SKILL.md](../env-secrets-governance/SKILL.md).

## Execution Workflow

### 1) Fix the upstream repo

Work in the standalone upstream repo first.

Example:

```bash
cd /Users/shenlan/workspaces/cloud-neutral-toolkit/accounts.svc.plus
git checkout main
git pull --ff-only origin main
```

Make the code change there, not in the control repo metadata checkout.

Run the narrowest relevant validation first, then the broader package-level validation if needed.

### 2) Commit and push the upstream repo

Use Conventional Commits.

Example:

```bash
git add <files>
git commit -m "fix(accounts): ensure tenant schema exists before bootstrap"
git push origin main
```

Record the pushed commit SHA because the control repo will need to reference it.

### 3) Verify the control-plane reference

Move to the sibling repo path and confirm it is on the pushed upstream branch tip.

Example:

```bash
cd /Users/shenlan/workspaces/cloud-neutral-toolkit/accounts.svc.plus
git fetch origin --prune
git checkout main
git pull --ff-only origin main
```

Verify the sibling checkout now points at the intended upstream commit:

```bash
git rev-parse HEAD
```

### 4) Commit and push the control repo

Commit only the control-plane metadata change in the control repo unless the task explicitly also updates docs or governance files there.

Example:

```bash
cd /Users/shenlan/workspaces/cloud-neutral-toolkit/github-org-cloud-neutral-toolkit
git add config/single-node-release/repositories.json
git commit -m "chore(release): update accounts.svc.plus reference"
git push origin main
```

## Verification

Run these checks before closing the task:

### Upstream repo

```bash
cd /Users/shenlan/workspaces/cloud-neutral-toolkit/accounts.svc.plus
git status --short
git rev-parse HEAD
git log --oneline -1
```

### Sibling checkout

```bash
cd /Users/shenlan/workspaces/cloud-neutral-toolkit/accounts.svc.plus
git status --short
git rev-parse HEAD
```

From haitaopanhq/.github, Apache-2.0.

More from haitaopanhq/.github

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Mar 31, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from haitaopanhq

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get cross-repo-upstream-submodule-sync running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying cross-repo-upstream-submodule-sync?

CallGet help
Cite this page

cross-repo-upstream-submodule-sync skill. Agent Mart. https://agentmart.dev/skills/haitaopanhq-cross-repo-upstream-submodule-sync (last updated 2026-10-24)