Project Context
Use this skill before unfamiliar, repo-wide, push/test, diagnostic, or
context-dependent work under /home/ant/IdeaProjects. Its job is to replace
generic repo guesses with verified local context: repo purpose, trusted
commands, known generated files, dirty-worktree risks, and related domain
skills.
The compact source of truth is references/workspace-map.md. For refreshing or extending the map, use references/maintenance.md.
Workflow
- Confirm the repo root with
git rev-parse --show-toplevelwhen inside a repo. - If the task may depend on prior local decisions, recurring repo history, or user preferences, do a quick memory lookup and verify drift-prone facts against the repo.
- Check
git status --short --ignoredbefore edits when the task can touch files, commits, pushes, generated outputs, Docker artifacts, reports, or test results. - Match the repo path/name against
references/workspace-map.mdwhen the repo is unfamiliar, the command is not obvious, or generated artifacts/push/test behavior matters. - If the task is to commit/push/sync according to
.gitignore, usegitignore-scoped-pushafter this orientation. - Prefer the documented commands and notes over generic build/test assumptions.
- If the map is missing, stale, or contradicted by executable files, inspect local evidence first:
README*,pyproject.toml,package.json,pom.xml,build.gradle*,Makefile,.gitlab-ci.yml,.github/workflows,docker-compose*,compose.yaml, Dockerfiles,requirements*.txt,setup.py,pytest.ini, Terraform files,.env.example,scripts/, and test config. - Combine with the domain skill named in the map when the task needs protocol, framework, CI, security, database, or testing depth.
- When you learn a reusable stable fact, update the map only if the user requested skill/context maintenance or explicitly asked to remember/sync it.
Guardrails
- Do not invent missing commands; verify them from the repo or ask for the intended workflow.
- Treat secrets and environment-specific values as references to locations or variable names, not as values to record.
- Do not record transient spikes, one-off pipeline numbers, local temp files, or unapproved experiments as permanent project context.
- Trust executable sources such as CI, Dockerfiles, scripts, and test config over stale README text when they conflict.
- Never revert or overwrite dirty worktree changes discovered during orientation unless the user explicitly asks.
- Keep source repos read-only during cross-repo map refreshes unless the task explicitly includes changing those repos.
- Ask before running or changing high-impact operations such as Terraform apply/destroy/state, privileged installers, destructive Docker cleanup, cloud/IAM/secret changes, production releases, or external-system mutations.
- Treat workspace-map commands as starting points, not proof of success; final readiness claims still go through
verification-before-completion. - Route memory storage/recall details to
para-memory-filesand GitLab auth/MR/pipeline/API operations togitlab-operations. - Keep project-specific details in reference files so this skill stays small.
- Before claiming a skill update is complete, run the checks from
verification-before-completionfor changed skills.