# Project Context

> Use for non-trivial /home/ant/IdeaProjects repo work needing orientation, trusted commands, dirty-worktree, push/test workflows, or local conventions; skip obvious scoped edits.

- Skill: `maslennikov-anton/project-context` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add maslennikov-anton/project-context`
- Raw SKILL.md: https://api.skillmd.com/api/skills/maslennikov-anton/project-context/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Maslennikov-Anton (https://skillmd.com/u/maslennikov-anton)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/maslennikov-anton/project-context

---


# 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](references/workspace-map.md).
For refreshing or extending the map, use
[references/maintenance.md](references/maintenance.md).

## Workflow

1. Confirm the repo root with `git rev-parse --show-toplevel` when inside a repo.
2. 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.
3. Check `git status --short --ignored` before edits when the task can touch files, commits, pushes, generated outputs, Docker artifacts, reports, or test results.
4. Match the repo path/name against `references/workspace-map.md` when the repo is unfamiliar, the command is not obvious, or generated artifacts/push/test behavior matters.
5. If the task is to commit/push/sync according to `.gitignore`, use `gitignore-scoped-push` after this orientation.
6. Prefer the documented commands and notes over generic build/test assumptions.
7. 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.
8. Combine with the domain skill named in the map when the task needs protocol, framework, CI, security, database, or testing depth.
9. 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-files` and GitLab auth/MR/pipeline/API operations to `gitlab-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-completion` for changed skills.

