agentleFS
tuanductrantuanductran/hr-skills/.agents/skills/turbo/SKILL.md

turbo

Skill58 starsChanged 2 months agoMITView on GitHub

Repository guidance for using Turborepo to orchestrate workspace tasks, builds, validation, testing, and development workflows within the hr-skills monorepo.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 14 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 14

    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
  1. Distinctive:

    Run workspace tasks from the repository root

    line 18
  2. Distinctive:

    Run tests and TypeScript type checking

    line 23
  3. Distinctive:

    Run all workspace builds.

    line 58
  4. Distinctive:

    Search the generated registry by text or domain.

    line 100
  5. Very specific:

    Run the evaluation framework against eval/datasets.

    line 124
  6. Distinctive:

    Run every test suite.

    line 130
  7. Distinctive:

    Run TypeScript type checking.

    line 136
  8. Distinctive:

    Run a task for a single package.

    line 148
  9. Distinctive:

    Run validation for the build package only.

    line 154
  10. Distinctive:

    Run validation only for the build package.

    line 243
  11. Distinctive:

    Use Turborepo caching to avoid rebuilding unchanged packages.

    line 262
  12. Very specific:

    Prefer repository scripts (bun run ...) over invoking package scripts directly.

    line 272
  13. Very specific:

    Use --filter during development to reduce execution time.

    line 273
  14. Distinctive:

    Keep task outputs deterministic to maximize cache effectiveness.

    line 275
  15. Distinctive:

    Use repository scripts for everyday development.

    line 287
  16. Distinctive:

    Keep task names consistent across every workspace package.

    line 289
  17. Distinctive:

    Use package filters to shorten development feedback loops.

    line 291

“Common” is measured: kept by at least 6 in 10 of the 3 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Turborepo

This skill explains how Turborepo is used throughout the hr-skills monorepo. It covers workspace orchestration, task execution, caching, package filtering, and development workflows.

Turborepo coordinates tasks across every workspace package while Bun provides the runtime and package management.

Supported tasks

  • Explain how Turborepo is used within this repository
  • Run workspace tasks from the repository root
  • Build workspace packages
  • Validate HR skills and repository metadata
  • Synchronize generated repository artifacts
  • Generate the skill maturity matrix
  • Run tests and TypeScript type checking
  • Execute filtered workspace tasks
  • Recommend efficient development workflows
  • Explain Turborepo caching behavior
  • Generate CI workflows using Turborepo

Repository usage

This repository uses Turborepo to orchestrate workspace tasks.

Current pipeline tasks include:

  • build
  • dev
  • test
  • typecheck
  • validate
  • sync
  • matrix

Repository scripts invoke Turborepo from the workspace root while package-level scripts provide the implementation.

Workspace orchestration

Workspace packages define their own scripts.

Examples include:

  • packages/hr-skills-build
  • packages/hr-skills-ref

Turborepo automatically coordinates task execution, dependency ordering, and caching across these packages.

Common commands

Run all workspace builds.

bun run build

Run development tasks.

bun run dev

Run repository validation.

bun run validate

Synchronize repository metadata.

bun run sync

Generate the skill maturity matrix.

bun run matrix

Generate the machine-readable skill registry.

bun run registry

Generate usage-informed relevance signals from evaluation golden fixtures.

bun run signals

Search the generated registry by text or domain.

bun run discover "<query>"

Get related-skill recommendations for a skill ID.

bun run recommend <skill-id>

Generate an execution plan for a user intent.

bun run plan "<intent>"

Generate a plan and run it through the workflow runtime.

bun run execute "<intent>"

Run the evaluation framework against eval/datasets.

bun run evaluate

Run every test suite.

bun run test

Run TypeScript type checking.

bun run typecheck

Execute a task directly with Turborepo.

turbo run build

Run a task for a single package.

turbo run build --filter=hr-skills-ref

Run validation for the build package only.

turbo run validate --filter=hr-skills-build

Key prompts

Repository workflows

  • "Explain how Turborepo is used in this repository."
  • "Describe the workspace task pipeline."
  • "Explain how Bun and Turborepo work together."
  • "List the repository tasks managed by Turborepo."

Development

  • "Run every workspace build."
  • "Run validation for the repository."
  • "Synchronize generated repository artifacts."
  • "Run tests across every workspace package."

Filtering

  • "Run a task for a single workspace package."
  • "Explain how --filter works."
  • "Recommend the correct package filter."
  • "Generate filtered Turborepo commands."

CI

  • "Generate a Turborepo CI workflow."
  • "Recommend a validation pipeline."
  • "Explain Turborepo caching."
  • "Optimize workspace builds for CI."

Pipeline overview

Current repository tasks include:

TaskPurpose
buildBuild workspace packages
devRun development tasks
testExecute package test suites
typecheckRun TypeScript type checking
validateValidate HR skills and repository metadata
syncSynchronize generated repository artifacts
matrixGenerate docs/engineering/skill-matrix.md skill maturity snapshot
registryGenerate the machine-readable skill registry (registry/skills.json)
signalsGenerate usage-informed relevance signals from evaluation golden fixtures
discoverSearch the generated registry by text or domain
recommendGet related-skill recommendations for a skill ID
planGenerate an execution plan for a user intent
executeGenerate a plan and run it through the workflow runtime
evaluateRun the evaluation framework against eval/datasets

Examples

Build every workspace package.

bun run build

Validate the repository.

bun run validate

Synchronize generated files.

bun run sync

Generate the skill maturity matrix.

bun run matrix

Build only one package.

turbo run build --filter=hr-skills-ref

Run validation only for the build package.

turbo run validate --filter=hr-skills-build

CI recommendations

A typical validation workflow is:

bun install --frozen-lockfile
bun run typecheck
bun run validate
bun run matrix
bun run test
bun run build

Use Turborepo caching to avoid rebuilding unchanged packages.

Tasks such as sync and matrix intentionally disable caching because they always operate on the latest repository state and write files as a side effect. validate is cacheable (it only depends on ^build) — a repeat run with no source changes replays cached results instead of re-validating.

Tips

  • Execute workspace tasks from the repository root.
  • Prefer repository scripts (bun run ...) over invoking package scripts directly.
  • Use --filter during development to reduce execution time.
  • Let Turborepo determine task execution order.
  • Keep task outputs deterministic to maximize cache effectiveness.

Common issues

  • Running package scripts directly instead of using repository commands.
  • Forgetting to use --filter for package-specific development.
  • Expecting cached results from tasks that explicitly disable caching.
  • Running Turborepo outside the repository root.
  • Defining inconsistent task names across workspace packages.

Best practices

  • Use repository scripts for everyday development.
  • Reserve direct turbo run commands for advanced workflows.
  • Keep task names consistent across every workspace package.
  • Enable caching only for deterministic tasks.
  • Use package filters to shorten development feedback loops.
  • Allow Turborepo to manage workspace execution and dependency ordering.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.