Vercel Composition Patterns
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
[Internal sub-skill of polylith-migrate-orchestrator. An agent skill from DavidVujic/python-polylith.
$ npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install DavidVujic/python-polylith polylith-migrate-prepare-project --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/DavidVujic/python-polylith.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project .claude/skills/polylith-migrate-prepare-project && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "polylith-migrate-prepare-project" agent skill from https://github.com/DavidVujic/python-polylith/tree/main/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project into .claude/skills/polylith-migrate-prepare-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "polylith-migrate-prepare-project", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/DavidVujic/python-polylith/tree/main/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-projectType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install DavidVujic/python-polylith polylith-migrate-prepare-project --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DavidVujic/python-polylith.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project .agents/skills/polylith-migrate-prepare-project && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "polylith-migrate-prepare-project" agent skill from https://github.com/DavidVujic/python-polylith/tree/main/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project into .agents/skills/polylith-migrate-prepare-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "polylith-migrate-prepare-project", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install DavidVujic/python-polylith polylith-migrate-prepare-project --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DavidVujic/python-polylith.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project .cursor/skills/polylith-migrate-prepare-project && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "polylith-migrate-prepare-project" agent skill from https://github.com/DavidVujic/python-polylith/tree/main/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project into .cursor/skills/polylith-migrate-prepare-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "polylith-migrate-prepare-project", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/DavidVujic/python-polylith.git --path .agents/skills/polylith/migrate-project/polylith-migrate-prepare-project--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install DavidVujic/python-polylith polylith-migrate-prepare-project --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DavidVujic/python-polylith.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project .gemini/skills/polylith-migrate-prepare-project && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "polylith-migrate-prepare-project" agent skill from https://github.com/DavidVujic/python-polylith/tree/main/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project into .gemini/skills/polylith-migrate-prepare-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "polylith-migrate-prepare-project", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install DavidVujic/python-polylith polylith-migrate-prepare-projectInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/DavidVujic/python-polylith.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project .github/skills/polylith-migrate-prepare-project && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "polylith-migrate-prepare-project" agent skill from https://github.com/DavidVujic/python-polylith/tree/main/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project into .github/skills/polylith-migrate-prepare-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "polylith-migrate-prepare-project", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install DavidVujic/python-polylith polylith-migrate-prepare-project --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DavidVujic/python-polylith.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project .opencode/skills/polylith-migrate-prepare-project && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "polylith-migrate-prepare-project" agent skill from https://github.com/DavidVujic/python-polylith/tree/main/.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project into .opencode/skills/polylith-migrate-prepare-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "polylith-migrate-prepare-project", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
polylith-migrate-prepare-project[Internal sub-skill of polylith-migrate-orchestrator. An agent skill from DavidVujic/python-polylith.
Polylith Migrate Prepare Project is an agent skill from DavidVujic/python-polylith. [Internal sub-skill of polylith-migrate-orchestrator. Do not load directly — load polylith-migrate-orchestrator first, which drives all phases.] Clean up the project subfolder and consolidate dependencies after extracting application code into bases.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. The repository describes itself as: Tooling support for the Polylith Architecture in Python. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a7a80f2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gituvpoetryFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Polylith Migrate Prepare Project loads about 2k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 905 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from DavidVujic/python-polylith at commit a7a80f2, republished under its MIT licence (© DavidVujic). 905 words, ~2,019 tokens.
.claude/skills/polylith-migrate-prepare-project/SKILL.md (or your agent's skills folder).Clean up the project subfolder (projects/<PROJECT>/) and consolidate dependencies. After this step, the project subfolder should contain only:
pyproject.toml (with brick references).Makefile, Justfile).alembic.ini and its alembic/ directory).SHIM_STRATEGY=shim).From migration/<PROJECT>/state.md:
PROJECT_DIRTARGET_TOP_NSALIAS (optional: GROUP)From migration/<PROJECT>/manifest.md:
All inputs from
state.mdare assumed to satisfy the validation rules inpolylith-migrate-discover(### Validation rules). Validate before proceeding.
directory_tree on projects/${PROJECT}/ to confirm only infra and config files remain.pyproject.toml[tool.polylith.bricks]:[tool.polylith.bricks]
"../../bases/${TARGET_TOP_NS}/${INITIAL_BASE_NAME}" = "${TARGET_TOP_NS}/${INITIAL_BASE_NAME}"workspace.toml (if provided):[tool.polylith.projects.alias]
${PROJECT} = "${ALIAS}"
[tool.polylith.projects.groups]
${GROUP} = ["${PROJECT}"]tests/ to test/<test-dir>/, where <test-dir> is a valid Python package name. ⚠ ${PROJECT} frequently contains hyphens (e.g. order-management-api), which are illegal in a package name and break pytest's package-style import. Derive an underscore name — the workspace's <svc>_service convention is a good default (e.g. order_management_service). Record <test-dir> in state.md.from tests.fixtures import … / from tests.helpers import …), rewrite those to the new name (from <test-dir>.fixtures import …). Brick imports (<TARGET_TOP_NS>.*) are absolute and need no change.RUN_TEST_CMD in migration/${PROJECT}/state.md to point to the new location.Per-brick test redistribution (
test/<theme>/<ns>/<brick>/) is handled later inpolylith-migrate-refactor-tests— this step only lifts tests to the workspace level. See that skill for the shared-helper / namespace-merge caveats before splitting further.
helm/, k8s/, kustomize/, skaffold/) to infra/<folder>/${PROJECT}/..gitignore check before the move. Infra folders frequently carry
secret material (e.g. values-secret.yaml, *.env, sealed-secret sources, TLS
keys). Two hazards when relocating them:.gitignore scope shifts. Ignore rules scoped to the old path stop
matching at the new infra/<folder>/${PROJECT}/ path, so a previously-ignored
secret file can become tracked after the move. Verify the destination is
still covered by .gitignore for anything that was ignored at the source.alembic/ together with alembic.ini in the project — do not split them. alembic.ini's script_location points at alembic/ relatively, and alembic/env.py imports the project's bricks; separating them breaks migrations. (Alembic is project-specific config, which the project subfolder is allowed to keep.) ⚠ alembic.ini commonly holds a sqlalchemy.url with DB credentials — if it is not already tracked, do not newly commit it with a literal credential; reference an env var instead.skaffold / CI that hardcode the old paths. If you cannot verify the deploy in the migration environment (no deploy / manifest-diff cycle available), it is acceptable to defer the infra move and document it in state.md rather than relocate blindly. Otherwise, update the referencing scripts and record the change. Prefer updating references over committing a symlink: a committed symlink can point outside the repo and behaves inconsistently across checkouts/OSes — if you must use one as a transition, keep it within the repo, record it in state.md, and schedule its removal.pyproject.toml.pyproject.toml.uv sync,
pdm install, poetry install — match PACKAGE_MANAGER in state.md).<RUN> =
uv run / pdm run / poetry run / bare in an activated venv):<RUN> pip list # Confirm all dependencies are installed
<RUN> python -c "import <dependency>" # Verify key dependencies are availableRUN_TEST_CMD succeeds against the new test location.RUN_LINT_CMD and RUN_TYPECHECK_CMD succeed.POLY_CMD_PREFIX check to validate the workspace structure.POLY_CMD_PREFIX info to inspect the workspace and confirm the project is correctly registered.| Symptom | Likely cause | Remediation |
|---|---|---|
RUN_TEST_CMD collects 0 tests after step 3 | The command in state.md still references the old projects/${PROJECT}/tests path. | Update RUN_TEST_CMD to the new test/${PROJECT}/ location. Also check [tool.pytest.ini_options].testpaths / rootdir / conftest.py discovery. |
Tests fail with ModuleNotFoundError on internal imports | Tests use from tests.fixtures import … and the tests package name changed. | Update test imports to the new test root path. If many tests reference the old name, consider keeping tests as the leaf directory and only renaming the parent. |
mock.patch("<old.path>") fails with AttributeError | Mock patch strings reference moved modules. | Update patch strings to the new module paths. Use grep -r 'patch("' test/ to find them all. |
Infra folder move breaks deploy scripts that hardcoded paths (e.g., helm/<chart>/values.yaml) | Deploy scripts haven't been updated to the new infra/<folder}/${PROJECT}/ location. | Either update the scripts, or symlink the new location from the old one as a transitional step (record the symlink in migration/${PROJECT}/state.md). |
poly check complains about brick references after dependency consolidation | A runtime dependency was moved to the workspace root but the project's pyproject.toml doesn't declare it. | Add the dependency name (no version) back to the project's [project.dependencies]. The version stays only at the workspace root. |
| Verification fails and you can't quickly diagnose | Phase commit not yet made. | git reset --hard HEAD to roll back to the previous phase's commit and consult the user. |
After verification passes, commit this phase to the migration branch:
git add -A && git commit -m "migrate(<PROJECT>): phase <N> — prepare-project"Substitute <PROJECT>, <N>, and <phase-name> from state.md and the orchestrator's phase table. Do not proceed to the next phase without a clean commit — the per-phase commit is the rollback point for the next phase's failure-mode tables.
© DavidVujic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/polylith/migrate-project/polylith-migrate-prepare-project of DavidVujic/python-polylith.
Open the folder on GitHubat commit a7a80f2
Polylith Migrate Prepare Project next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Polylith Migrate Prepare Project this skillDavidVujic/python-polylith | 553 | — | ~2k | Automated safety check: Pass | MIT | |
| Vercel Composition Patternssupabase/supabase | 111k | 59 repos | ~726 | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT |
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
DavidVujic/python-polylith
Create a Polylith base with poly create base — the entry point of a deployable application (HTTP API, CLI, message-queue consumer, AWS Lambda handler, GCP Cloud Function, scheduled job).
DavidVujic/python-polylith
Validate a Polylith workspace with poly check — the canonical CI gate.
DavidVujic/python-polylith
Create a Polylith component with poly create component — a reusable, isolated brick implementing business logic, a feature, a domain module, or a capability.
DavidVujic/python-polylith
Add or manage third-party dependencies in a Polylith workspace.
DavidVujic/python-polylith
Visualize brick × brick dependencies with poly deps — find circular dependencies, inspect a brick's public interface, and detect interface-bypass violations.
DavidVujic/python-polylith
List Polylith bricks whose implementation changed since a git tag using poly diff.
Categories
[Internal sub-skill of polylith-migrate-orchestrator. An agent skill from DavidVujic/python-polylith. Polylith Migrate Prepare Project is an agent skill from DavidVujic/python-polylith. [Internal sub-skill of polylith-migrate-orchestrator.
Polylith Migrate Prepare Project fits situations like: development work in your project.
Run `npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a claude-code`. Or copy the skill folder (.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project in DavidVujic/python-polylith) into .claude/skills/polylith-migrate-prepare-project in your project. Claude Code loads it when a task matches its description.
Run `npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a codex`. Or copy the skill folder (.agents/skills/polylith/migrate-project/polylith-migrate-prepare-project in DavidVujic/python-polylith) into .agents/skills/polylith-migrate-prepare-project in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DavidVujic/python-polylith --skill polylith-migrate-prepare-project -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/polylith-migrate-prepare-project, .gemini/skills/polylith-migrate-prepare-project, .github/skills/polylith-migrate-prepare-project and .opencode/skills/polylith-migrate-prepare-project in your project.
Going by SKILL.md and its folder, Polylith Migrate Prepare Project needs the command-line tools its instructions call (git, uv and poetry). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Polylith Migrate Prepare Project is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Polylith Migrate Prepare Project: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
DavidVujic (a GitHub user) maintains it in DavidVujic/python-polylith, which has 553 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on October 4, 2026.
Source: DavidVujic/python-polylith on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.