← Back to home@shuguang1994

project-blueprint

Make any project AI-agent-ready in one command. Adaptive tech stack detection (7 languages × 14 frameworks × 61 components), auto-generates AGENTS.md, docs skeleton, CI/CD, and testing infrastructure. 一句话让任何项目具备 AI 开发能力。

Stars
22
Language
JavaScript
Created
Jul 18, 2026
Updated
Sep 18, 2026

Introduction

Project Blueprint 🏗️

One command to make any project AI-agent-ready. 一键为新项目建立完整 AI 编程规范体系。

License: MIT skills.sh

Topics · dsh-plugin deepseek-harness agent-skills claude-code cursor codex

中文文档


What is this?

Project Blueprint is a reusable AI agent skill that transforms any new project into an AI-ready codebase in one sentence. It's not a static template — it's an autonomous discovery engine: scan your project files, intelligently classify dependencies, and dynamically assemble a customized AGENTS.md, documentation skeleton, CI/CD pipeline, and testing policy from a 95-entry component knowledge base.

Just say: "Initialize this project's development standards" and the agent does the rest.

Quick Install

# Global (GitHub)
npx skills add shuguang1994/project-blueprint

# China (Gitee mirror, no proxy needed)
npx skills add https://gitee.com/shuguang1994/project-blueprint.git

# Update later
npx skills update project-blueprint

DeepSeek Harness (dsh) plugin:

dsh plugin --profile web add 'github:shuguang1994/project-blueprint'

Supported agents: Claude Code, Cursor, GitHub Copilot, Codex, Windsurf, Trae, OpenCode, DeepSeek Harness, and 28+ more.

Why

AGENTS.md is now an industry standard in 2026 — used by 60,000+ open-source repos, co-promoted by OpenAI, Google, Anthropic, and Microsoft. 76% of developers use AI coding assistants (Stack Overflow 2025), but without AGENTS.md, AI agents are like "new hires with no onboarding" — producing inconsistent code styles, broken architecture, and failing CI.

Industry data: Anthropic benchmarks show AGENTS.md reduces wrong-pattern rewrites by 40-60%. But writing a quality AGENTS.md by hand takes half a day to a full day — repeated for every new project.

Project Blueprint's approach: No preset templates. Autonomous scanning → intelligent classification → dynamic assembly. The AGENTS.md you get reflects your project's actual tech stack. And it's the only tool that generates AGENTS.md + docs skeleton + CI pipeline + testing policy + Git conventions — all from one sentence.

Core Capabilities

CapabilityDescription
Autonomous File DiscoveryScan and classify 30+ file patterns — no preset file checklist
Project Structure DetectionAuto-identify monorepo, 2/3-tier frontend-backend, or single project
Monorepo Nested AGENTS.mdRoot AGENTS.md (global constraints + sub-project index) + per-package AGENTS.md (closest-file-wins) when ≥2 build/manifest files
Intelligent Dep Classification3-tier: knowledge base exact match → 29 heuristic patterns → web search
Business Type Inference2-tier heuristic (structure + config features), 12 business types
Dynamic AGENTS.mdAssembled from a 95-entry component knowledge base, not a template
Module Table GenerationReads actual source dirs, infers responsibilities via file patterns, web search fallback
Documentation SystemA/B/C/D/E 5-tier classification, generated per business type
Testing PolicyPhase-appropriate layered strategy, not forced example files
Multi-IDE SupportAuto-generates CLAUDE.md, .cursor/rules, copilot-instructions, and more
Vendor Private Enhancement LayerBeyond breadcrumbs: Cursor .mdc glob activation, Claude Code hooks/subagents skeleton, Copilot instructions layering
Incremental ModeOnly fills gaps on existing projects, never overwrites
MCP Tool RecommendationRecommends MCP tool list + combinations from detected stack, generates docs/B/B-05-MCP工具清单.md with install commands (MD only, minimal intrusion)
Self-EvolvingGenerated AGENTS.md includes auto-maintenance rules — updates module table, tech stack, and decisions as the project grows
Progressive Step LoadingSKILL.md slimmed to a ≤200-line index; Step details load on demand from references/step-*.md
Real Coding ConventionsWrites base coding conventions at init (naming/structure/error handling/logging/security/performance 6 categories), B-01 as real 8-chapter doc, not a placeholder
AI Mistake PreventionBuilt-in 7-category 27-item AI common-mistakes KB, injected into core rules at init, iterated via BUG feedback loop
Constitution & Gate GrowthWrites meta-rules + a 6-step growth loop into AGENTS.md, so the project's AI grows domain gates from the constitution while it works
Gate Registry & Unified Entryscripts/gates.json as single source of truth + verify.* unified entry + check-constitution self-check
Doc Contract & ValidationDoc state headers / numbering / index contract + docs-check script (error blocks, warning does not)
AI Work Protocol7-step task lifecycle + evidence standards + DoD + defect retrospective template
Spec-Driven Development (6 phases)specify → plan → tasks → checklist → implement → verify; a spec checklist can register directly as a gate (source: spec#<change-id>)
Spec-Code Drift GateSeed gate checks deps ↔ AGENTS.md tech-stack row, module table ↔ actual dirs, and gate validity (drift-check.*)

What It Generates

OutputDescription
AGENTS.mdProject conventions (governed by architecture principles); in a monorepo: global constraints + sub-project index
<sub-project>/AGENTS.mdPer-package conventions when ≥2 build/manifest files (monorepo: root = global + index, package = local, closest-file-wins)
docs/A/B/C/D/E classified documentation skeleton + README maintenance guides (incl. B-01-开发规范, real 8-chapter conventions)
.github/workflows/ci.ymlCI pipeline (auto-adapts to language + platform)
.gitignoreCurated rules per language
CHANGELOG.mdVersion log ([Unreleased] init placeholder, updated per AGENTS.md release policy)
.husky/pre-commitPre-commit lint hook (JS/TS only)
CLAUDE.mdClaude Code vendor breadcrumb (baseline)
.cursor/rules/project.mdcCursor vendor breadcrumb (baseline + private enhancement layer)
docs/B/B-03-测试指南.mdTesting policy (layers, timing, framework-specific patterns)
docs/B/B-05-MCP工具清单.mdMCP tool list + combination suggestions + install commands (on demand)
scripts/gates.jsonGate registry (single source of truth: source / level / stage / command; seeds 2 seed gates by default)
scripts/verify.*Unified gate entry (host auto-selected: Node / Python / make / shell)
scripts/check-constitution.*Constitution self-check (AGENTS.md red lines ↔ gate registry, two-way)
scripts/docs-check.*Doc consistency check (numbering / state headers / index / archive conflicts + size; scan range adaptive: iterates the docs/ sub-dirs that actually exist; error blocks)
scripts/drift-check.*Spec-code drift check (deps ↔ tech-stack row / module table ↔ actual dirs / gate validity) — the 2nd seed gate spec-drift
docs/B/B-06-门禁与工作协议.mdGate growth loop + evidence standards + DoD (on demand for mid/large projects)

On demand: small projects only get a single gate + unified entry — no full gate layer or protocol doc (stays lean, avoids over-engineering).

Autonomous Discovery Engine

Project Blueprint doesn't check a fixed list of files. It scans your project and discovers everything.

Dependency Classification: 3-Tier

All detected dependencies
    ↓
Tier 1: Knowledge Base Exact Match
  Hit in 95-entry component KB → instant
    ↓
Tier 2: Name Pattern Heuristic
  29 patterns covering 100+ keywords → auto-classify
  e.g. winston → logging, antdv-next → ui, mysql2 → database
    ↓
Tier 3: Web Search
  Truly unknown → real-time search for latest info

Tech Stack Coverage

LayerComponents
Languages (7)TypeScript/JavaScript, Go, Python, Java, Rust, Ruby, PHP
Frameworks (15)NestJS, Next.js, Vue 3, React, Express, FastAPI, Flask, Django, Gin, Spring Boot, SvelteKit, Nuxt 3, Laravel, Hono, uni-app
ORMs (6)Prisma, TypeORM, Drizzle, GORM, SQLAlchemy, JPA/Hibernate
CSS (5)Tailwind CSS, CSS Modules, Scoped CSS, Styled Components, SCSS
UI Libraries (4)Ant Design Vue, Element Plus, Naive UI, Vant
Testing (6)Vitest, Jest, Pytest, Go testing, JUnit 5, Playwright
Linting (5)ESLint, Prettier, Biome, Ruff, golangci-lint
Deployment (5)PM2, Docker, Vercel, Docker Compose, GitHub Pages
Databases (2)MySQL, PostgreSQL
AI/LLM (4)LangChain / LangGraph, LlamaIndex, pgvector, Ollama / vLLM
IaC & Cloud-Native (3)Terraform, Helm, Kubernetes manifest (kubectl / kustomize)
Observability (3)OpenTelemetry, Sentry, Prometheus + Grafana
Data Engineering (2)dbt, Airflow
Native Mobile (3)Flutter, SwiftUI (Swift), Jetpack Compose (Kotlin)
Totals18 secondary sections / 16 tech-stack dimensions, 95 component entries (+ State 3, Package Mgmt 5, generic conventions, 12 business-type doc patterns)

Web Search Fallback

Every dimension has a web search fallback — not just language/framework, but CSS, lint, package manager, deployment, UI libraries, database, and state management:

Unknown dep: @shadcn/ui not in knowledge base
→ Heuristic: contains "shadcn" + "ui" → dimension: ui
→ WebSearch: "shadcn/ui component library conventions 2026"
→ Extracts: registration patterns, theming, Tailwind integration
→ Writes into AGENTS.md

Web fallback covers two phases: generation (web search for unknown deps/modules) + coding (the generated AGENTS.md requires verifying third-party library APIs/versions against official docs before writing code).

Unique Innovations

Verified via web search — no existing AGENTS.md generation tool implements these.

InnovationDescriptionCompetitor Status
Full-Lifecycle GenerationOne sentence → AGENTS.md + docs + CI/CD + testing policy + Git conventionsCompetitors only generate AGENTS.md
Autonomous Discovery Engine3-tier classification (exact→heuristic→web search), not just reading package.jsonCompetitors use fixed templates or basic scanning
Self-Evolving MechanismGenerated AGENTS.md includes auto-maintenance rules, grows with the projectCompetitors produce static files
Business Type Awareness12 business type inferences drive different documentation structuresNo competitor infers project type
Incremental Quality DetectionAuto-evaluates existing AGENTS.md quality, tiered handling (complete→skip / partial→supplement / none→full)Competitors overwrite or start fresh
Multi-IDE EcosystemAuto-generates CLAUDE.md, .cursor/rules, copilot-instructions, and moreNo competitor provides this
Module Table Auto-GenerationReads actual source directories, infers responsibilities via file patterns, web search fallbackNo competitor provides this
MCP Tool Auto-RecommendationAuto-matches MCP tools from detected stack via 3-tier matching, outputs combo suggestions (must/recommended/optional) + an installable MD doc; dual-layer web search keeps commands freshCompetitors (e.g. Project Genesis Phase 9) only wire preset MCP config — no autonomous recommendation from tech stack
7-Language 15-Framework KB95 component entries with Commands + Conventions + CI, Chinese-firstCompetitors cover JS/TS ecosystem at most

What Makes It Different

  • Autonomous discovery, not preset — scans what your project actually has
  • 3-tier classification — exact match → pattern heuristic → web search
  • Full-stack coverage — AGENTS.md + docs + CI + testing policy + Git, one sentence
  • Incremental-friendly — auto-detects existing projects, adds only what's missing
  • Monorepo closest-file-wins — multi sub-project repos get a root + per-package AGENTS.md, matching the official AGENTS.md semantics
  • Self-evolving — generated AGENTS.md is not a dead file; it teaches the AI to maintain itself as the project grows
  • MCP-ready tooling — auto-recommends MCP tools + combos from your stack, with an installable doc that never ships outdated commands
  • AI mistake prevention + BUG→conventions feedback loop — built-in 7-category 27-item AI common-mistakes KB injected at init; conventions-deficiency bugs auto-feed back into AGENTS.md and B-01, so conventions evolve with real practice
  • Conventions that don't rot — not just static docs: every blocking red line ships with an executable check, the gate registry has a single source of truth and a constitution self-check, so conventions grow with the project instead of drifting
  • Growable gates — init only seeds generic gates; the project's AI turns real pitfalls into domain gates per the meta-rules (no rule without a gate / every defect closes the loop)
  • Conventions that don't drift — a seed gate (drift-check) checks dependencies ↔ tech-stack row, module table ↔ actual dirs, and gate validity, so spec and code can't silently diverge (quality-gates / spec-code drift)
  • Progressive disclosure — the skill body is a slim ≤200-line index; Step details load on demand, keeping always-loaded context small without losing depth
  • Chinese-first — 7 languages, 15 frameworks, 95 component entries natively in Chinese

How It Works

User says: "Initialize this project"
    ↓
Step 1: Autonomous scan → file classification → dep inference (3-tier)
    ↓ (Step details load on demand from references/step-*.md)
Step 2: Rule engine assembles AGENTS.md from 95-entry component KB
    ↓ (unknown stack → WebSearch fallback)
    ↓ (multi sub-project → root AGENTS.md + per-package AGENTS.md)
Step 3: Dynamic docs skeleton by business type (12 types) + MCP tool recommendation (B-05)
    ↓
Step 4: Configure Git (.gitignore + branch strategy)
    ↓
Step 5: Configure CI/CD (language + platform adaptive)
    ↓
Step 6: Establish testing policy (phase-appropriate, not forced)
    ↓
Step 7: Inject continuous self-maintenance instructions
    ↓
Done: 15+ files generated (multi sub-project adds per-package AGENTS.md), project is AI-ready

Requirements

  • Any AI coding agent that supports SKILL.md format
  • Node.js (for npx skills add installation)

Contributing

Contributions welcome! Areas to help:

  • Knowledge base: Add more language/framework/ORM/UI library entries to references/knowledge-base.md
  • MCP tools: Add MCP tool entries (usage/install/combination) to references/mcp-tools.md, expanding dimension coverage
  • Code conventions: Add/refine base coding convention rules (naming/directory/error handling/logging/security/performance, with search templates) in references/code-conventions.md
  • AI mistakes: Add AI common-mistake entries (mistake/consequence/❌example/✅fix/KB link/search template) to references/ai-common-mistakes.md, expanding anti-pattern coverage
  • Gate scripts: write a check script for a common pitfall in some stack (single file, zero external deps) — reusable by any project
  • Heuristic rules: Expand Step 1.2 name pattern classification, covering more dependency keywords
  • File discovery: Extend Step 1.1 file pattern mapping for more build tools and language ecosystems
  • Business types: Expand Step 3.0 config feature inference for more project types
  • CI platforms: Add templates for more CI platforms (GitLab CI, Jenkins, CircleCI, etc.)
  • Real-world feedback: Share use cases and improvement suggestions from real projects to help the framework evolve
  • Translations: README to Japanese, Korean, and other languages

License

MIT — see LICENSE for details.


Author: 曙光 (shuguang1994)

Made with ❤️ in China | 始于实战,开源共享