create-project-skills
Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style.
Install / Use
npx skills add tobihagemann/turbo --skill create-project-skillsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of create-project-skills
create-project-skills scores 83/100 on our quality scale, 3261st of 4,616 Development & Engineering skills we index.
Its SKILL.md is 10.0 KB long, well organised into 8 sections and no code examples: a thorough specification that gives an agent plenty to work with.
It has 405 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 12 days ago, so create-project-skills is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-05. Automated pattern scan on 2026-10-05. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
create-project-skills compared with similar skills
All 4 of these similar skills score higher than create-project-skills; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| create-project-skills (this skill)by tobihagemann | 83 | 405 | 12d ago | SKILL.md |
| ai-job-searchby MadsLorentzen | 100 | 45.0k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.8k | 5d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 13d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 13d ago | SKILL.md |
Frequently asked questions
- How do I install create-project-skills?
- Run
npx skills add tobihagemann/turbo --skill create-project-skills. The install tabs above show the steps for each supported agent. - Which AI agents does create-project-skills work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is create-project-skills safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is create-project-skills still maintained?
- The repository was last updated 12 days ago, so create-project-skills is actively maintained.
Skill content
View source on GitHubname: create-project-skills
description: "Scans an existing codebase and generates project-specific skills that capture inferred conventions such as naming, file organization, framework usage, data access, error handling, and testing style. Writes into the project's chosen skill directory (e.g., .claude/skills/, .agents/skills/, or a custom path). Use when the user asks to "extract skills from the codebase", "create project skills", "infer project conventions as skills", "codify patterns as skills", or "mine the repo for best practices"."
Create Project Skills
Generates one skill per detected convention area in the project's skill directory so future Claude or Codex sessions auto-load them when working in the repo.
Task Tracking
At the start, use TaskCreate to create a task for each phase:
- Survey codebase
- Extract patterns in parallel
- Evaluate patterns
- Propose skill list
- Run
/create-skillskill
Step 1: Survey Codebase
If $ARGUMENTS specifies paths, scope the scan to those paths; otherwise scan the whole repository.
Build the extraction context:
- Detect primary languages and frameworks from manifest files (
package.json,Cargo.toml,pyproject.toml,go.mod,Package.swift,pom.xml,Gemfile, and others appropriate to the stack). - Map the top-level source directory structure and note test directory conventions.
- Read
CLAUDE.md,.claude/rules/,AGENTS.md, and any.cursor/rulesor.cursorrules. Note the conventions already documented there. The generated skills must not duplicate them. - Determine the target skill directory:
- Check candidate paths
.claude/skills/(Claude Code),.agents/skills/(Codex), and a top-levelskills/directory (match case-insensitively soSkills/or similar non-standard casing is detected too). Resolve symlinks so co-linked paths are treated as one logical location. - Use
AskUserQuestionto confirm where generated skills should live. List each distinct resolved location as an option, noting any symlink alias in the option description. If.claude/skills/is not among the detected locations, include it as a default option. The auto-added "Other" option lets users specify a custom path such as a project-specific directory.
- Check candidate paths
- In the chosen target directory, list existing skills. For each, record the skill name, the description from SKILL.md frontmatter, and the first
##section heading from the body. These signals feed rename-conflict detection in Step 3.
Output a short text summary of detected stack, top-level layout, chosen target directory, and existing skills before moving on.
When that summary shows no source code to extract conventions from, stop here rather than dispatching Step 2. Executable code in any language qualifies, including scripts no manifest declares, so judge from the directory map rather than the detected stack. Documentation, instruction files, and configuration alone do not: extraction run over prose returns that prose's assertions as observed conventions, and Step 3 scores them with no code sites to test them against.
State that as text first — what the survey found, and that conventions extracted from it would have nothing to verify against. Then use AskUserQuestion to offer:
- Write the skills from what we know (Recommended) — build skills from what this session established, rather than from conventions read out of the repo
- Generate nothing yet — leave skills until the repo has code to have conventions about
- Extract anyway — generate skills from the documentation and configuration that are there
On the first option, run the /create-skill skill directly on that knowledge and skip the remaining steps. On either of the first two, mark the extraction phases cancelled so they no longer read as pending work.
Step 2: Extract Patterns in Parallel
Read references/pattern-extractor.md to see the full taxonomy of pattern categories. Decide which categories apply to the detected stack (e.g., drop "Styling and UI" for a backend service, drop "State management" for a static-analysis tool).
Emit all extraction Agent tool calls below in one assistant message. Each Agent call uses model: "opus" and no name. Wait for every agent to report before continuing. Do not begin the next step on a partial set, and do not relaunch an agent that has not yet reported. Launch one Agent per applicable category and state the total count explicitly when emitting the calls. Every agent's prompt must direct it to treat the shared working tree and its git index as read-only and to extract by reading and reasoning. HEAD stays where it is: read other refs with git show <ref>:<path> rather than git checkout or git switch. Each agent's prompt must:
- Name its assigned category
- Include the stack summary and directory map from Step 1
- Include the list of conventions already documented in
CLAUDE.mdand.claude/rules/so duplicates are skipped - Instruct the agent to read references/pattern-extractor.md as its role brief and return findings in the format defined at the end of that file
Step 3: Evaluate Patterns
Aggregate findings from all agents. For each finding, score three axes:
- Consistency: what share of eligible sites follow the pattern? Drop findings below 30%. Flag findings between 30–70% as "mixed" for Step 4 review.
- Intentionality: does the pattern appear across multiple subsystems and recent commits, or is it isolated? Drop findings confined to a single legacy module unless docs or lint config explicitly mark them as the desired convention.
- Modernity: does the pattern align with current best practices for the stack? Flag patterns that contradict current idioms (e.g., pre-hooks class components in a React codebase also using hooks elsewhere) as "legacy" for Step 4 review.
Group the surviving findings by topic into candidate skills. Each candidate typically covers one category, but related categories may merge if the patterns are tightly coupled. Split a candidate into two skills if its patterns cover clearly distinct sub-topics.
For each candidate skill, produce:
- A proposed
name(kebab-case, narrow to the topic, e.g.,swift-naming,react-state,api-clients) - A one-line description with trigger phrases (e.g., "Use when writing or reviewing <topic>...")
- 3–8 concrete convention statements with evidence citations (
file:line) - A Status tag based on disk comparison:
- New: no skill with that name exists in the target directory.
- Update: a skill with the same name exists in the target directory. Produce a unified diff against the current SKILL.md body.
- Rename conflict: an existing skill in the target directory has a name, description, or first-section heading that covers the same topic under a different name. Flag for user decision.
If rename-conflict detection is ambiguous from the Step 1 signals alone, read the existing skill's SKILL.md body and compare convention statements before finalizing the Status tag.
Step 4: Propose Skill List
Output the full proposal as text first, not inside AskUserQuestion. For each candidate skill, show:
- Status tag, proposed name, one-line description
- The 3–8 convention statements with evidence
- For Update status, the unified diff
- For Rename conflict status, the existing skill name and the overlap summary
After all candidates are listed, use AskUserQuestion to confirm the proposal with these options: "Approve all", "Make edits", "Cancel". If the user selects "Make edits", continue in conversation so the user can specify which candidates to drop, merge, or rename before returning here.
For each Rename conflict candidate, use a separate AskUserQuestion asking whether to update the existing skill, create the new one alongside it, or skip. Add a Get a second opinion option as a fourth choice, since creating alongside always establishes a second skill covering the same conventions. It runs the /consult-codex skill for which resolution leaves the skill set coherent. Then resolve the conflict with that answer in hand, re-asking when the choice stays the user's.
Step 5: Run /create-skill Skill
Build the batch from approved candidates only. Do not include anything not explicitly approved in Step 4.
Output all approved candidates (both New and Update status) as text in a single batch. For each candidate, list the Status tag, proposed name, description, target path <target-skill-directory>/<name>/SKILL.md, and the 3–8 convention statements organized under ## <Section> headings with inline evidence citations (file_path:line). These convention statements define the target state the final SKILL.md should match, regardless of whether the skill is being created or updated.
This gives /create-skill everything it needs to skip its Step 1 (usage patterns clearly understood) and Step 2 (project skills typically need no additional reusable resources). For Update candidates, /create-skill also skips its Step 3 (initialization) per its own "skill already exists, iteration needed" skip rule and iterates on the existing SKILL.md in Step 4 until it matches the target convention statements.
Run the /create-skill skill once with this batch in context. Its batch-aware review, evaluation, and apply cycle then runs across all touched skills.
After /create-skill completes, output a summary of created and updated skills, grouped by status. If any candidates were dropped or skipped in Step 4, list them so the user knows what was left out.
Rules
- Each generated skill stays narrow: one topic per skill. Splitting is preferred over bundling.
- Do not duplicate conventions already documented in
CLAUDE.mdor.claude/rules/. Reference them instead if needed. - Generated skills must be self-contained: no cross-skill routing, no references to pipelines that invoke them.
- Descriptions must be third-person and include trigger phrases a future Claude session would match when working on the topic (e.g., "Use when writing or reviewing <tech>...", "Use when editing <layer>...").
Related Skills
ai-job-search
45.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.8kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
