init-project
Skill0 starsChanged 47 days agoMITView on GitHub
Initialize a new or existing project according to the Modern Multi-Agent Standard. Sets up AGENTS.md, GEMINI.md, CLAUDE.md, ARCHITECTURE.md, README.md, session scratchpads, fast zero-cost security rules, and runtime browser verification.
- Reads credentials
- Installs packages
49 other projects use a version of this.
Adopted by
Most recently taken up by
- itsryanarmani/skillstheir own version, first seen Nov 8, 2026
- ryanportfolio/winuse-mcptheir own version, first seen Nov 8, 2026
- eugenelim/agent-ready-repotheir own version, first seen Nov 8, 2026
- pooriaarab/skillstheir own version, first seen Nov 7, 2026
- ice-lfernandes/claude-spring-architecttheir own version, first seen Nov 7, 2026
- nerviz-ai/nerviztheir own version, first seen Nov 7, 2026
Used with
Projects with it also use addskill, apply-firmware and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkilladdskill
Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.
Also in 6 projects that use this
ryanportfolioSkillapply-firmware
Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.
Also in 6 projects that use this
- +10 more from ryanportfolio
Other versions49 projects use a version of this.
Word for word · 1
- ilovefiniki/init-project★ 0100% same
Edited · 0
None found.
Wrote their own version · 48
- southliu/south-admin-react★ 582same name
- wataru-maeda/react-native-boilerplate★ 521same name
- flonat/flonat-research★ 150same name
- huangwb8/skills★ 50same name
- jiahao-shao1/sjh-skills★ 43same name
- eugenelim/agent-ready-repo★ 28same name
- freemty/labmate★ 25same name
- ice-lfernandes/claude-spring-architect★ 11same name
- nerviz-ai/nerviz★ 11same name
- eranw2000/multi-phase-skills-framework★ 10same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 41 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run whenever the user or agent initiates project setup:
- Distinctive: line 17
When opening a new repo or workspace and establishing AI agent governance rules.
- Distinctive: line 56
Verify if Git is initialized (git rev-parse --is-inside-work-tree).
- Distinctive: line 69
Create AGENTS.md in the project root:
- Distinctive: line 243
Create or update README.md:
- Distinctive: line 289
Ensure the following entries are ignored:
“Common” is measured: kept by at least 6 in 10 of the 41 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
init-project
Initialize any software project or repository according to the Production Multi-Agent Governance Standard.
Sets up universal agent governance (AGENTS.md, GEMINI.md, CLAUDE.md), dynamic architecture specifications (ARCHITECTURE.md), context scratchpads (.vault-notes.md), lightweight pre-commit security gates, zero-pollution analytics isolation, and browser runtime verification protocols.
Trigger
Run whenever the user or agent initiates project setup:
init project,init-project,initialize project,setup projectconfigure project rules,bootstrap agent governance,setup agents- When opening a new repo or workspace and establishing AI agent governance rules.
What this skill does
- Scans target workspace: detects language and framework (Node/Astro/Next/React/Python/FastAPI/Docker), existing files, and Git status.
- Classifies project profile:
- Public Web / SaaS / Client Site: full SEO, security headers, cookie/consent gating, and contact intake validation.
- Internal App / CLI Tool / Microservice: streamlined auth, focuses on API contracts and performance, skips consumer cookie banners.
- Generates Universal Multi-Agent Instructions:
AGENTS.md(Master operational blueprint for Claude Code, Antigravity, Gemini, Cursor, and Windsurf).GEMINI.md(Reference linking toAGENTS.md).CLAUDE.md(Reference linking toAGENTS.md).
- Generates Spec-Driven Documentation:
ARCHITECTURE.md(Living technical spec: directory tree, component contracts, schema, endpoints).README.md(Quickstart, verification commands, and high-level architecture overview).- Enforces the Spec-Driven Rule: code changes must update
ARCHITECTURE.md.
- Configures Context Scratchpad & Memory:
- Initializes
.vault-notes.mdfor intra-session continuity. - Updates
.gitignoreto prevent committing local scratchpads and secrets. - (Optional) Connects Second Brain / Obsidian knowledge base synchronization.
- Initializes
- Injects Lightweight Quality & Security Gates:
- Automated syntax & build validation commands.
- Fast pre-deploy secret leak check (detecting
.envleaks, private tokens, honeypots). - Analytics zero-pollution guardrail (preventing local/test traffic from contaminating production analytics).
- Browser runtime verification protocol via Chrome DevTools or Playwright.
Execution Steps
Step 1 — Project Discovery & Profile
Inspect the workspace:
- Check root files:
package.json-> inspect dependencies (astro,next,react,vue,express,fastify).requirements.txt/pyproject.toml-> Python environment.Dockerfile/docker-compose.yml-> Containerized service.- Verify if Git is initialized (
git rev-parse --is-inside-work-tree).
Determine variables:
PROJECT_NAME: directory basename.PROJECT_TYPE:Public Web Platform / Client SiteInternal Tool / Microservice / API
BUILD_COMMAND: e.g.npm run build,npm test, orpytest.
Step 2 — Generate AGENTS.md
Create AGENTS.md in the project root:
# AI Agent Instructions — PROJECT_NAME
> Project name: `PROJECT_NAME`
> Target environment: [Production URL / Staging URL / Localhost]
---
## 🎯 Project Overview & Core Focus
[Brief 2-3 sentence summary of what this project is, its core capabilities, and tech stack.]
---
## 🚨 Mandatory Project Documentation Rule (Spec-Driven)
**Whenever making ANY changes to the codebase, API routes, data models, or client forms:**
1. **Always update [`ARCHITECTURE.md`](ARCHITECTURE.md)** detailing modified/new components, endpoints, schema changes, security mechanisms, and data flows.
2. **Always update [`README.md`](README.md)** with user-facing summaries, API tables, and operational guides.
3. Keep documentation strictly synchronized with reality. Never leave stale architecture descriptions.
---
## 🧪 Verification & Runtime Testing Protocol (Mandatory)
**Never claim work is complete without rigorous verification.**
Before finishing any task or asking for review:
1. **Syntax & Build Validation:**
- [SPECIFIC_BUILD_COMMAND, e.g. `npm run build` or `python3 -m py_compile ...`] (must pass with 0 errors).
2. **Automated Test Suite:**
- [SPECIFIC_TEST_COMMAND, e.g. `npm test` or `pytest`] (must pass 100% of all tests).
3. **Browser Runtime Verification (Chrome DevTools / Playwright):**
- Open the local dev/preview URL.
- Check console messages: **0 unhandled JavaScript errors** (`TypeError`, `ReferenceError`).
- Verify layout responsiveness (mobile < 480px and desktop > 1200px).
- Verify dynamic element rendering.
4. **Analytics Zero-Pollution Guardrail:**
- All tests, agents, and local development MUST suppress analytics tracking.
- Ensure `localhost`, `127.0.0.1`, `navigator.webdriver === true`, `?admin=1`, or `localStorage.getItem('admin_ga_disabled')` prevents sending pageviews/events to GA4/Clarity.
---
## 🔒 Pre-Deploy Security Checklist (Fast & Low-Cost)
Before committing or pushing to production:
1. **Zero Leaked Secrets:** Check `git status` to ensure `.env` and local secrets are NOT tracked. Scan for hardcoded keys (`sk-`, `AIza`, `ghp_`, bearer tokens).
2. **Form Sanitization & Honeypots:** Ensure all customer-facing forms have active bot honeypots and input sanitization.
3. **Clean Style & Content:** In copywriting and docs, do NOT use em dashes `—` or AI buzzwords ("game-changer", "dive in", "delve", "tapestry").
> **Note on Major Launches:** For full production milestones or public releases, run the comprehensive audit skill: `prod-readiness-audit`.
---
## 🔄 Session Protocol (Context Continuity)
Follow this 3-phase protocol on every work session:
### Phase 1 — Session Start
1. Check if `.vault-notes.md` exists in this folder.
- If yes: read it to absorb previous context.
- If no: create it with today's date and a brief note about the current task.
### Phase 2 — During Session
Keep `.vault-notes.md` updated after each meaningful change:
- What was built or changed, in plain language.
- The decision or reason behind it.
- What is incomplete or next.
### Phase 3 — Before Commit / End of Session
Do this BEFORE committing:
1. Summarize key achievements and write a clean, structured commit message.
2. Clear `.vault-notes.md` (or let the post-commit hook archive it automatically).Step 3 — Generate GEMINI.md and CLAUDE.md
Create GEMINI.md:
# Gemini & Antigravity Instructions
See [AGENTS.md](AGENTS.md) — all core instructions, testing rules, and session protocols apply here.
Mandatory rules:
1. Always maintain and update `ARCHITECTURE.md` and `README.md` with all technical specifications.
2. Run syntax/build and test commands before claiming work is complete.
3. Verify visual UI runtime with 0 unhandled console errors.Create CLAUDE.md:
# Claude Code Instructions
See [AGENTS.md](AGENTS.md) — master instructions apply to all sessions.
Follow the 3-phase session protocol (`.vault-notes.md` context continuity).
Always update `ARCHITECTURE.md` and verify 0 console errors before completing tasks.Step 4 — Generate ARCHITECTURE.md Blueprint
Create ARCHITECTURE.md:
# Architecture Specification: PROJECT_NAME
> **Status:** Active Development
> **Environment:** [URL / Localhost]
> **Repository:** [Git repository URL]
---
## 1. Concept & Scope
High-level summary of the system, business problems solved, and primary personas.
---
## 2. Directory Structure
PROJECT_NAME/ ├── ARCHITECTURE.md # Complete technical blueprint ├── README.md # User guide & quickstart ├── AGENTS.md # Universal multi-agent governance ├── GEMINI.md # Reference to AGENTS.md ├── CLAUDE.md # Reference to AGENTS.md ├── .vault-notes.md # Session context scratchpad │ ├── [src/ / app/ / core/] # Application source code └── tests/ # Automated test suite
---
## 3. Core Components & API Endpoints
| Route / Component | Purpose | Access |
|---|---|---|
| `/` | Main UI / Entry point | Public |
| `/api/health` | Service health check | Public |
---
## 4. Data Models & State Management
Database schema, migrations, tables, or client state handling.
---
## 5. Integrations & External Services
- **Webhooks & APIs:** Downstream event pipelines.
- **Observability:** Logging, analytics, and error tracking.
---
## 6. Security & Environment Configuration
- Secrets managed via `.env` (never committed).
- Bot honeypots on intake forms.
- Rate-limiting and input sanitization.Step 5 — Generate README.md
Create or update README.md:
# PROJECT_NAME
[One-line elevator pitch for the project]
## Quickstart
```bash
# Install dependencies
npm install # or pip install -r requirements.txt
# Run development server
npm run dev
# Run verification and build
npm test
npm run buildDocumentation & Architecture
- Technical specification and architecture:
ARCHITECTURE.md - Multi-agent instructions and testing protocols:
AGENTS.md
Development Rules
- Any changes in code, schema, or routes must be reflected in
ARCHITECTURE.md. - Ensure 0 unhandled console errors and clean test runs before committing.
- Pre-deploy security checks are mandatory before production releases.
---
### Step 6 — Context Scratchpad & Git Configuration
1. **Create `.vault-notes.md`:**
```markdown
# Context Notes — PROJECT_NAME
Initialized: YYYY-MM-DD
[Active session context will be maintained here.]- Update
.gitignore: Ensure the following entries are ignored:
.vault-notes.md
.vault-notes-archive/
.env
.env.*
!.env.example- (Optional) Install Post-Commit Archival Hook:
To automatically archive
.vault-notes.mdon every commit, copy the provided hook:
mkdir -p .git/hooks
cp templates/post-commit.sh .git/hooks/post-commit
chmod +x .git/hooks/post-commitDoes 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
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.

