team-init
Use when bootstrapping team knowledge from a brownfield codebase — reverse-engineers CDRs for contribution to team-ai-directives adlc branch.
How do I install this agent skill?
npx skills add https://github.com/tikalk/adlc-team-skills --skill team-initIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill automates the reverse-engineering of code patterns from existing projects to generate team directives. It can read local source code and perform Git operations to manage branches and push directive drafts to a repository. It can modify remote repositories via Git and access local files, so ensure the target directives repository path is trusted.
- Socketpass
No alerts
- Snykfail
Risk: CRITICAL · 2 issues
What does this agent skill do?
team-init
What this skill does
Reverse-engineer Context Directive Records (CDRs) from an existing
codebase (brownfield) to document reusable patterns for contribution to
team-ai-directives.
Replaces the former team-init skill. Drafts are written to the adlc
orphan branch of team-ai-directives (not project-local .adlc/drafts/).
When to use
- Brownfield projects: Existing code without team-wide directives
- Legacy modernization: Extract reusable patterns before refactoring
- Team onboarding: Turn implicit conventions into explicit directives
When NOT to use
- Greenfield (session complete): Use
/team-levelupto extract from session - Mining git history: Use
/change-initfor past decisions
Process
Phase 0: Environment Setup
Run: scripts/bash/team-init.sh --setup
Resolves REPO_ROOT, TEAM_AI_DIRECTIVES, ADLC_BRANCH.
Phase 1: Sub-System Detection
Analyze codebase for distinct sub-systems (same detection as former team-init):
src/auth/→ Authenticationservices/payment/→ Payment- etc.
Phase 2: Load Team Directives
Read existing team-ai-directives main branch for comparison (avoid duplicates).
Phase 3: Multi-Agent Analysis
- Discovery Agent: Scan each sub-system for raw patterns
- Pattern Agent: Classify and score patterns for reusability
- Synthesis Agent: Cross-sub-system analysis and CDR generation
Phase 4: Write CDRs
Write to adlc branch drafts/cdr/ using the shared CDR draft template at skills/team/templates/cdr-draft-template.md.
Phase 5: Handoff
Suggest running /team-levelup to review and publish the discovered CDRs.
Verification
- CDRs written to
adlcbranchdrafts/cdr/ - No CDRs in
.adlc/drafts/(old location) -
cdr.mdindex regenerated inadlcbranch
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/tikalk/adlc-team-skills/team-init">View team-init on skillZs</a>