lindoelio/spec-driven-steroids/project-guidelines-writer
Claude Code and agent skill by lindoelio/spec-driven-steroids
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when the user wants repository guidance documents generated or refreshed, including AGENTS.md, CONTRIBUTING.md, STYLEGUIDE.md, TESTING.md, ARCHITECTURE.md, and SECURITY.md. It reviews all six documents by default, creates missing files as tool-independent Markdown, applies only justified incremental updates, and leaves unchanged files unwritten. Do not use it for feature specs or implementation.
Install
npx vskill@latest install lindoelio/spec-driven-steroids/project-guidelines-writerSKILL.md
Project Guidelines Writer Skill
Analyze a repository and generate or update a focused set of guideline documents without duplicating content across them.
Your job is to:
- understand the repository from a representative sample of files
- detect conventions, architecture, testing posture, and documentation gaps
- create missing guidelines with clear document boundaries
- preserve valid existing guidance and apply only necessary, evidence-backed deltas
Default path: read existing guidelines, investigate current repository evidence, create missing documents, patch only justified deltas, and leave unchanged files unwritten. Documents belong to the repository, not to their generator.
Standard Outputs
Review all six guideline documents by default unless the user explicitly skips named files.
AGENTS.mdCONTRIBUTING.mdSTYLEGUIDE.mdTESTING.mdARCHITECTURE.mdSECURITY.md
Missing files should be created automatically unless explicitly skipped. Reviewing an existing file and finding no necessary changes is a successful outcome, not a skipped file.
Workflow
Step 1: Repository Analysis
Select the files needed to understand the repository.
- Read any existing guideline files in full before proposing changes:
AGENTS.mdCONTRIBUTING.mdSTYLEGUIDE.mdTESTING.mdARCHITECTURE.mdSECURITY.md
- Select representative files across:
- configuration
- entry points
- source code
- tests and test config
- existing docs
- Prefer files that reveal structure, conventions, and workflows.
- Exclude historical
.specs/changes/<slug>/artifacts from repository discovery unless the user explicitly requests analysis of a specific artifact. They are not evidence of current behavior.
Use tools like:
Globto find representative filesReadto inspect themGrepto confirm naming, test, and architecture patterns
Keep concise internal notes of the existing guidelines and relevant evidence sources; do not create an extra analysis artifact or stop for confirmation.
Step 2: Repository Insights
Analyze the selected files for:
- technology stack
- package manager and tooling
- code and naming conventions
- architectural patterns
- testing patterns and consistency
- existing documentation coverage
- conflicts between docs and code
- high-level project structure
Confirm commands, paths, versions, and prerequisites against current manifests, configuration, scripts, CI, and code before adding or changing them. Distinguish explicit project policies from patterns merely observed in the sample; do not turn an inference into a mandatory rule.
Testing Strategy Defaulting Rule
When creating TESTING.md or filling a material strategy gap, use Testing Trophy guidance if no documented strategy exists and repository evidence is inconsistent, unclear, or mixed:
- integration tests as the main confidence layer
- e2e tests for critical user journeys and cross-system flows
- unit tests as secondary and selective for isolated, high-risk logic
Do not replace an existing documented testing strategy merely to apply this fallback.
Step 3: Delta Review
Before writing, classify each target as create, update, unchanged, or explicitly skipped.
Each proposed delta must identify the affected passage, current repository evidence or explicit user request, and why the change is necessary.
Justified changes are limited to:
- correcting verified factual inaccuracies
- filling material gaps that affect development, testing, operation, or safety
- resolving harmful contradictions or duplication
- removing legacy generator metadata
- implementing an explicit user request
Rules:
- Create missing guideline files automatically unless explicitly skipped by the user.
- do not treat missing guideline files as optional
- Preserve valid content, structure, wording, and formatting.
- Do not rewrite an existing document merely to match this skill's template or Responsibility Matrix.
- Missing generic boilerplate, stylistic preferences, and a different section order are not sufficient reasons to edit.
- Preserve explicit project policies; ask before changing them when the intended policy is unclear.
- Do not routinely ask for overwrite or skip decisions; honor named skips and request approval only if a necessary whole-file rewrite was not explicitly requested.
Step 4: Document Generation And Writing
Create missing documents and patch existing ones only after reviewing the proposed deltas.
For each document:
- use the repository evidence and delta review
- organize new content with the Document Responsibility Matrix without forcing existing files into its shape
- cross-reference relevant existing guidance instead of adding duplication
- Use targeted patches for existing files; never regenerate them by default.
- If no justified changes remain, do not write the file.
- re-read changed files and inspect the diff; every changed passage must correspond to a justified delta
Do not touch unchanged files through no-op writes, add generation timestamps, or make cosmetic edits to manufacture an update. Summarize created, updated, unchanged, and explicitly skipped files, with a brief reason for each applied delta.
Tool-Independent Documents
- Write ordinary Markdown that can be maintained manually or with any other tool.
- Do not add generator branding, ownership markers, or tool-specific maintenance instructions.
- Mention tools and workflows only when they describe the repository itself, not the generator's identity or preferred lifecycle.
For legacy documents:
- Remove only legacy SpecDriven:managed delimiter comments; preserve all enclosed content.
- This applies to actual wrapper comments, not examples quoting them. Preserve unrelated HTML comments.
- Treat all existing content equally, whether previously inside or outside those delimiters; do not assume generated text is disposable.
- Marker removal alone is a justified delta, not permission to regenerate the file. Any other edit requires its own justification.
- Replace obsolete generator-only maintenance instructions with ordinary editing guidance; preserve tools and workflows that belong to the project itself.
Document Responsibility Matrix
Use this matrix for new documents and additions. Existing valid content does not need to be moved merely to match it.
| Document | Primary Responsibility | Keep Elsewhere By Default | |
|---|---|---|---|
AGENTS.md | repository context, technology stack summary, build/lint/test commands, agent constraints, code comment policy | detailed code conventions, testing patterns, architecture diagrams | |
CONTRIBUTING.md | git workflow, PR process, repo structure, documentation workflow | build commands, naming conventions, testing strategy | |
STYLEGUIDE.md | naming conventions, code style, language/framework patterns | architecture decisions, security rules, testing strategy | |
TESTING.md | testing strategy, frameworks, test organization, project-specific testing notes | general code conventions, build commands | |
ARCHITECTURE.md | high-level architecture, system boundaries, Mermaid diagrams, architecture decisions | detailed file-level coding rules, testing details, PR process | |
SECURITY.md | security policy, reporting process, security constraints and practices | general architecture, git workflow |
Document Mapping Rules
Use these defaults when deciding where content belongs:
- detailed naming and code style ->
STYLEGUIDE.md - testing strategy and examples ->
TESTING.md - security requirements and policies ->
SECURITY.md - system structure and diagrams ->
ARCHITECTURE.md - workflow and review process ->
CONTRIBUTING.md - agent behavior, commands, and high-level repo context ->
AGENTS.md
When creating AGENTS.md, include:
- The code comments constraint under agent guidance:
- add code comments only when they are highly necessary to explain non-obvious intent, workarounds, or critical constraints
- The Behavioral Guidelines section (see below) inserted after "Agent Constraints"
- The Mandatory Self-Review Gate section (see below) inserted immediately after Behavioral Guidelines
When updating an existing AGENTS.md, preserve equivalent guidance instead of inserting the example verbatim.
Preserve established repository-specific workflow and artifact-access rules. Do not introduce Spec-Driven workflows or artifact-access rules merely because this skill is installed.
Behavioral Guidelines Specification
For a new AGENTS.md, use this Behavioral Guidelines section after "Agent Constraints". It is not a mandatory replacement for existing guidance:
Mandatory Self-Review Gate Specification
For a new AGENTS.md, include this section immediately after Behavioral Guidelines. It is not a mandatory replacement for equivalent existing guidance:
Output Format
Default response: summarize created, updated, unchanged, and explicitly skipped files without reproducing unchanged documents.
Only when the caller explicitly requests XML document output, use:
Start directly with the XML wrapper when XML output is required. Never write response wrappers into guideline files.
Quality Bar
Before considering the work complete, verify:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/cli/templates/universal/skills/project-guidelines-writer/SKILL.md
Popularity
- Repository stars
- 54
- Repository forks
- 3
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 5 Jul 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lindoelio/spec-driven-steroids/project-guidelines-writer)