agentleFS
dafaalzdafaalz/agent-skills/skills/workspace-onboarding/SKILL.md

workspace-onboarding

Skill2 starsChanged 52 days agoMITView on GitHub

Use when starting a new conversation, initializing work on a project, or onboarding to an unfamiliar workspace. Don't use for single-file edits in established sessions with known runtime environments (use systematic-debugging or executing-plans), or creating persistent codebase documentation (use upsert-codebase-docs).

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read-Only Boundary. Do not create, modify, delete, stage, commit, migrate, install, or chmod files during onboarding.

    line 12
  2. Distinctive:

    Follow these four steps in sequence.

    line 27
  3. Very specific:

    Read .env first whenever the file exists on disk.

    line 38
  4. Very specific:

    Check DB_CONNECTION, DATABASE_URL, port bindings, and external services in the active .env.

    line 39
  5. Distinctive:

    Verify database connections through config files or health check endpoints.

    line 40
  6. Very specific:

    Run framework introspection commands when available (such as php artisan db:show or php artisan env for Laravel) to verify the live …

    line 42
  7. Very specific:

    Check test configuration files (such as phpunit.xml) to identify test specific overrides (such as in-memory SQLite) and avoid …

    line 43
  8. Very specific:

    If no path exists, record Rules: none and continue.

    line 59
  9. Very specific:

    If multiple paths exist, bind only RULE_FILE and report lower-priority files as ignored.

    line 60
  10. Distinctive:

    If assertions in discovered rule files contradict live runtime manifests or database introspection from Step 1, treat live runtime as …

    line 65
  11. Distinctive:

    Follow immediately with the substantive technical answer or the next concrete investigation step.

    line 90

≈ “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.

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

Workspace onboarding

Inspect repository context, verify environment configurations, and load governing rules before proposing solutions or running modifications.

<HARD-GATE> Read-Only Boundary. Do not create, modify, delete, stage, commit, migrate, install, or chmod files during onboarding. Bash is allowed only for read-only inspection. Any mutation requires a separate user-approved skill invocation. </HARD-GATE>

Modes

Select an onboarding mode before Step 1:

  • Full discovery mode (default). Execute runtime detection, config mapping, and environment reconnaissance for greenfield or unfamiliar workspaces.
  • Re-verification mode. Re-check runtime and branch state on existing workspaces without rewriting codebase notes.

Boundary isolation

Workspace onboarding operates strictly in an exploratory and reconnaissance capacity. Never modify application source files, run mutating database migrations, or install global system packages during workspace onboarding.

Workflow

Follow these four steps in sequence.

Step 1. Stack and environment discovery

Identify the active runtime, framework, database, and package managers from files on disk and live runtime commands.

  1. Inspect project manifests:
    • For PHP or Laravel projects, read composer.json to verify framework version, packages, and custom scripts.
    • For Node, React, Vue, or Next.js projects, read package.json to check dependencies, Tailwind versions, and test runners.
    • For Python projects, inspect pyproject.toml, Pipfile, or requirements.txt.
  2. Inspect environment files with strict priority:
    • Read .env first whenever the file exists on disk. Use .env.example solely as a fallback template when .env is absent.
    • Check DB_CONNECTION, DATABASE_URL, port bindings, and external services in the active .env.
    • Verify database connections through config files or health check endpoints; never assume database credentials or connection state without explicit checks.
  3. Validate active runtime database configuration:
    • Run framework introspection commands when available (such as php artisan db:show or php artisan env for Laravel) to verify the live database engine, host, and port.
    • Check test configuration files (such as phpunit.xml) to identify test specific overrides (such as in-memory SQLite) and avoid misclassifying test fixtures as the application database.
  4. Record discovered stack properties including runtime version, framework, database driver, test runner, and linter.

Completion criterion. Verify and record the runtime version, framework, database engine, and tooling inventory directly from active environment files or live CLI commands.

Step 2. Rule discovery and binding

Locate and read the applicable project guidelines and behavioral constraints.

  1. Set RULE_FILE to the first existing path in this exact order:
    • .agents/rules/AGENTS.md
    • .agents/skills/AGENTS.md
    • AGENTS.md
    • CODEBASE.md
    • CLAUDE.md
    • $HOME/.config/agents/AGENTS.md
  2. If no path exists, record Rules: none and continue.
  3. If multiple paths exist, bind only RULE_FILE and report lower-priority files as ignored.
  4. Bind rule constraints to the current session:
    • Adopt the persona, tone, and language defined in the discovered rules immediately from turn 1.
    • Respect boundaries on file manipulation and tool usage.
  5. Resolve conflicts between rule files and runtime facts:
    • If assertions in discovered rule files contradict live runtime manifests or database introspection from Step 1, treat live runtime as ground truth.
    • Adopt the live configuration and note the documentation drift in the onboarding synthesis line.

Completion criterion. Governing rule file identified and its constraints applied to the current context.

Step 3. Unslop baseline calibration

Activate core unslop constraints across all human-facing responses.

  1. Enforce zero filler openings. Do not use greeting tokens like "Halo", "Tentu", "Siap", or polite padding.
  2. Ban em dashes, en dashes, and hyphens acting as dashes. Use commas, periods, or separate sentences.
  3. Restrict colons to introducing lists, tables, or code blocks. Never use colons as connectors in the middle of sentences or as pseudo-labels.
  4. Consult the full vocabulary substitution table in unslop only when generating detailed documentation, reviews, or prose.

Completion criterion. Response draft verified to contain zero filler phrases and zero dash defects.

Step 4. Onboarding synthesis line

Deliver a single substantive verification statement before proceeding to task execution.

Format the status line using this syntax:

[Stack: <framework> <version> | DB: <driver> | Tooling: <test_runner>, <linter> | Rules: <governing_file>]

Follow immediately with the substantive technical answer or the next concrete investigation step. Never output empty confirmation filler.

Completion criterion. Exactly one dense status bracket output followed directly by task execution.

Quick audit checklist

CheckPassing condition
Stack detectionActive framework, language runtime, and dependencies verified from manifests
Environment ground truthLive .env and runtime introspection prioritized over example templates
Rule bindingProject rules loaded from .agents/, root docs, or user configs
Synthesis outputSingle dense status bracket emitted before task execution

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.