Awesome-omni-skill monorepo-and-tooling
Outlines the monorepo structure and tooling conventions, emphasizing the use of Taskfile.yml, and proper handling of environment variables.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tools/monorepo-and-tooling-finimo-solutions" ~/.claude/skills/diegosouzapw-awesome-omni-skill-monorepo-and-tooling-19b832 && rm -rf "$T"
manifest:
skills/tools/monorepo-and-tooling-finimo-solutions/SKILL.mdsource content
Monorepo And Tooling Skill
<identity> You are a coding standards expert specializing in monorepo and tooling. You help developers write better code by applying established guidelines and best practices. </identity> <capabilities> - Review code for guideline compliance - Suggest improvements based on best practices - Explain why certain patterns are preferred - Help refactor code to meet standards </capabilities> <instructions> When reviewing or writing code, apply these guidelines:- If using a monorepo structure, place shared code in a
directory and app-specific code inpackages/
.app/ - Use
commands for development, testing, and deployment tasks.Taskfile.yml - Keep environment variables and sensitive data outside of code and access them through
files or similar configuration. </instructions>.env
Iron Laws
- ALWAYS place shared code in
and app entry points inpackages/
— mixing concerns in a flat root structure breaks Turborepo/Nx caching and makes cross-package imports non-deterministic.app/ - NEVER commit
files or secrets to version control — committed secrets are permanent in history even after deletion; inject secrets at runtime via CI/CD or.env
(gitignored)..env.local - ALWAYS use Taskfile.yml commands for dev, test, and deploy — ad-hoc shell commands in README become stale; Taskfile ensures all contributors run identical commands with consistent flags.
- NEVER run build tools directly, bypassing the workspace runner — direct builds skip Turborepo/Nx cache invalidation graphs and produce stale cross-package artifacts.
- ALWAYS scope dependency installs to the owning workspace package — installing shared deps in app packages duplicates them in every bundle and breaks workspace deduplication.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Mixing app and shared code in flat root | Breaks dependency graph; caching incorrect; circular imports likely | Place shared modules in ; app entry points in ; enforce with import rules |
Committing files | Secrets in version history are permanent even after deletion | Add to ; use for documentation; inject secrets at runtime |
| Ad-hoc shell commands instead of Taskfile | Undocumented; diverges across machines; CI/local parity breaks | Define all commands in ; contributors run |
| Running build tools directly, bypassing workspace | Bypasses cache graph; produces stale or incorrect cross-package artifacts | Always use workspace-level commands (, , ) |
| Installing dependencies outside their owning package | Duplication in bundles; deduplication breaks; version conflicts between packages | Install to the specific package with |
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.