Init Project (Codex)
Use this skill when a user opens an unfamiliar repository and wants fast, evidence-based onboarding.
Goals
- Classify project type, stack, and structure.
- Initialize Serena context for semantic navigation.
- Produce a concise architecture map with key files.
- Audit major dependency freshness risks.
- Suggest concrete next actions.
Workflow
- Collect quick repository context:
pwd,git remote -v,git branch --show-current- root structure (
ls, shallowfind) - manifests (
package.json,pyproject.toml,Cargo.toml,go.mod,pubspec.yaml,composer.json)
- Initialize Serena (if available):
activate_projectcheck_onboarding_performedlist_memories
- Run semantic exploration:
- Use
better-explorerflow (Serena-first) for architecture and execution boundaries. - Build a list of 5-10 key files with one-line explanations.
- Run dependency freshness check:
- Use
version-patrolflow for CRITICAL/HIGH issues only. - Focus on major-version lag and EOL signals.
- If memories are missing/stale:
- Use
serena-syncflow in CREATE or AUDIT mode as appropriate.
Output Contract
Return a single structured report:
Project: type, stack, architecture styleKey Files: 5-10 files with purposeMemory State: existing/fresh/stale/missingVersion Risks: only CRITICAL/HIGHNext Actions: numbered, practical, and short
Guardrails
- Do not modify source code unless user explicitly asks.
- Do not claim architecture facts without file evidence.
- Keep report concise and operational.