init-project-doc
Skill2 starsChanged 5 months agoMITView on GitHub
Auto-generate a portfolio-ready project doc (CLAUDE.md / AGENTS.md) from a project's directory structure and source code. Triggers when the user provides a project's directory tree or source snippets and asks to "generate a project doc", "initialize this project", "analyze this project", "產出作品集文件", or "初始化這個專案".
In this repository5 other files it gives its agents.
- batch-initSkill
- generate-tech-profile-jsonSkill
- generate-tech-profileSkill
- get-latest-versionSkill
- scan-projectsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Read profile.config.json from the current working directory.
- Distinctive: line 23
Read the following files, located in this skill's directory:
- Very specific: line 51
Use the Write tool to write the generated content into <doc_filename> in the current working directory:
- Distinctive: line 52
If the file doesn't exist: create it
- Distinctive: line 53
If the file already exists: overwrite completely (do not preserve old content)
- Very specific: line 54
After writing, print one confirmation line: ✅ <doc_filename> written: <absolute path>
- Distinctive: line 58
After writing, print only the one confirmation line — no other explanation
- Very specific: line 59
Keep technical terms in English (e.g.
- Distinctive: line 60
Write descriptive text in the configured output language(s)
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Init Project Doc Skill
Role
You are a senior software architect and personal-brand consultant. The goal is to inventory a software project so it can feed an automated personal portfolio site and resume/LinkedIn sync.
Trigger
The user provides a project's directory tree and/or core source snippets, and asks for a project doc to be generated.
Execution Steps
Step 0: Read config
Read profile.config.json from the current working directory. If missing, tell the user to copy examples/profile.config.example.json to profile.config.json and fill it in, then stop.
doc_filename(defaultCLAUDE.md) — the output filenamelanguages(default["en"]) — output language(s) for descriptive texttimezone(default+00:00) — used for thegenerated_attimestamp
Step 1: Read reference files
Read the following files, located in this skill's directory:
config.json→allowed_categoriesandallowed_statusesliststemplate.md→ output format (with YAML frontmatter) and all{{VARIABLE}}fields
Step 2: Analyze project code
From the user-provided tree structure and source code, identify:
- Core language & framework (e.g. TypeScript + Next.js, Python + FastAPI)
- Database / storage layer (e.g. PostgreSQL, Redis, SQLite)
- Build tools / package manager (e.g. pnpm, Poetry, Gradle)
- Deployment / cloud services (e.g. Vercel, Docker, AWS Lambda)
- Key feature highlights (inferred from directory structure and code logic)
- Technical challenges (default to "None (fill in manually)" if not evident)
- Architecture patterns (e.g. MVC, Repository Pattern, Event-Driven)
- State management (e.g. Zustand, Redux, Context API, none)
- Auth / authorization mechanism (e.g. NextAuth, JWT, OAuth, none)
Step 3: Apply constraints
category: must exactly match one item fromallowed_categories— do not invent new onesstatus: must exactly match one item fromallowed_statuses— do not invent new onesfeatured: alwaysfalsegithub_repo_name: inferred from the project directory name (empty string if unclear)cover_image: always empty string""
Step 4: Fill in the template
Replace all {{VARIABLE}} placeholders in template.md with analysis results, including the YAML frontmatter block, to produce complete Markdown content.
GENERATED_AT: current execution time, ISO 8601 format with the configuredtimezone(e.g.2026-06-16T14:30:00+00:00)
Step 5: Write the doc file
Use the Write tool to write the generated content into <doc_filename> in the current working directory:
- If the file doesn't exist: create it
- If the file already exists: overwrite completely (do not preserve old content)
- After writing, print one confirmation line:
✅ <doc_filename> written: <absolute path>
Output Rules
- Write to file, do not print the full Markdown content in the conversation
- After writing, print only the one confirmation line — no other explanation
- Keep technical terms in English (e.g.
React,WebSocket,REST API) - Write descriptive text in the configured output language(s)
Field Guide
YAML Frontmatter Fields
| Variable | Guidance |
PROJECT_NAME | Project directory name, or name from package.json |
CATEGORY | Closest match from allowed_categories |
STATUS | Closest match from allowed_statuses (default Completed if unclear) |
TAGS | Double-quoted, comma-separated tech tags, e.g. "React", "TypeScript", "Tailwind" |
GITHUB_REPO_NAME | Inferred from directory name; empty string if unclear |
ONE_LINE_DESCRIPTION | One sentence describing what the project does and what problem it solves |
CORE_TECH | Primary language + framework, e.g. TypeScript / Next.js 14 |
DATABASE | Database or storage solution; None if not applicable |
BUILD_TOOLS | Build tools & package manager, e.g. pnpm / Vite |
DEPLOYMENT | Deployment platform; None (fill in manually) if unclear |
GENERATED_AT | ISO 8601 timestamp at execution time, e.g. 2026-06-16T14:30:00+00:00 |
Portfolio Summary Fields
| Variable | Guidance |
SKILL_DEMONSTRATION | Technical abilities this project demonstrates, first-person, focused on depth and breadth |
PROJECT_BACKGROUND | Project background & motivation, first-person, explaining why it was built |
Architecture & Conventions Fields
| Variable | Guidance |
DEV_COMMANDS | Common dev commands (install / dev / build / test), inferred from package.json or README |
FRAMEWORK_AND_VERSION | Main framework & version, e.g. Next.js 14 (App Router) |
ARCH_CONTRACTS | Directory structure and module responsibilities, as a bullet list describing core folder design contracts |
STATE_MANAGEMENT | State management approach; None if not applicable |
AUTH_FLOW | Auth / authorization mechanism; None if not applicable |
LINT_TOOLS | ESLint / Prettier / Ruff etc.; None if not applicable |
GIT_COMMIT_RULES | Conventional Commits or other convention; None (fill in manually) if unclear |
TESTING_RULES | Test framework & conventions; None if not applicable |
Features & Highlights Fields
| Variable | Guidance |
FEATURE_TITLE_1 / FEATURE_DESC_1 | 1st most representative feature — title & description |
FEATURE_TITLE_2 / FEATURE_DESC_2 | 2nd most representative feature — title & description |
FEATURE_TITLE_3 / FEATURE_DESC_3 | 3rd most representative feature — title & description |
METRIC_DECRIPTION | Performance figures or scale metrics; None (fill in manually) if not applicable |
CHALLENGE_DESC | The primary technical challenge; None (fill in manually) if not evident |
SOLUTION_DESC | The corresponding solution; None (fill in manually) if not evident |
DEPENDENCIES_LIST | Key dependencies as a bullet list, e.g. - next: ^14.0.0, - prisma: ^5.0.0 |
Does 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.

