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

workspace-onboarding

Skill2 starsChanged 2 months agoMITView on GitHub

Use when starting a new conversation, initializing work on a project, or onboarding to an unfamiliar workspace to discover the active stack, load rules, and establish execution constraints. Don't use for single-file edits in established sessions with known runtime environments.

  • 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

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these four steps in sequence.

    line 12
  2. Very specific:

    Read .env first whenever the file exists on disk.

    line 23
  3. Very specific:

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

    line 24
  4. Very specific:

    Never assume a default SQLite or MySQL database from template files when a configured .env file exists.

    line 25
  5. 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 27
  6. Very specific:

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

    line 28
  7. Distinctive:

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

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

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.
    • Never assume a default SQLite or MySQL database from template files when a configured .env file exists.
  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. A verified inventory of the runtime, framework, database engine confirmed via active environment files or runtime CLI, and tooling without unverified assumptions.

Step 2. Rule discovery and binding

Locate and read the applicable project guidelines and behavioral constraints.

  1. Execute the deterministic rule discovery chain in this order:
    • First, check .agents/rules/AGENTS.md or .agents/skills/ if present in the workspace.
    • Second, check AGENTS.md, CODEBASE.md, or CLAUDE.md in the project root.
    • Third, check global machine rules at ~/.gemini/config/rules/AGENTS.md.
  2. 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.

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: [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.

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.