docs-writer — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited docs-writer (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Documentation serves two primary audiences:
Authoritative but Accessible
Guiding, Not Assuming
Grammar and Clarity
Active Voice (85%+)
Present Tense (90%)
Use modal verbs to convey appropriate certainty and obligation:
| Verb | Meaning | Usage | Example |
|---|---|---|---|
can | Optional (40%) | Capabilities, options | "Municipalities can implement lighting curfews." |
should | Recommended (30%) | Best practices | "Policies should prioritize ecological zones." |
may | Possibility (20%) | Conditional outcomes | "This may reduce bird collisions." |
must | Required (10%) | Mandatory actions | "Protected areas must limit upward light." |
Avoid weak modals: might, could, would (use sparingly, only for hypotheticals)
| Section | Current Stage | End Goal |
|---|---|---|
| Research | Evidence compilation | Scientific foundation for policy |
| Policy | Recommendations → Refined proposals | Foundation for official policy |
| Pilots | Guidelines → Standards | Adopted implementation protocols |
Language reflects stage:
Subject-First Declarative (60%)
Light pollution disrupts nocturnal ecosystems.
The UNFCCC recognizes lighting efficiency as a climate strategy.
Maharashtra's protected areas face light intrusion.Imperative Instructions (25%)
Review the ecological impact evidence in Section 2.1.
Consider the economic burden documented by RAND Europe.
Implement shielding requirements for coastal lighting.Contextual Openers (15%)
When protecting migratory corridors, restrict lighting to essential safety needs.
During pilot implementation, monitor sky brightness monthly.
For agricultural zones, prioritize pollinator-friendly spectrum.Length: 2-4 sentences maximum Structure: Topic sentence first, then supporting details
Route middleware runs before navigation.
Use it to check authentication or redirect users.
Define middleware in the middleware directory.Opening Sentences
Each docs directory MUST include a navigation.yml file with this structure:
title: 'Document Group Heading'
icon: i-lucide-icon-nameNavigation Rules:
navigation.ymlindex.md files in subdirectories (causes conflicts with navigation.yml)Example directory structure:
docs/
├── 1.getting-started/
│ ├── navigation.yml # Required
│ ├── 1.introduction.md
│ ├── 2.quickstart.md
│ └── 3.configuration.md
└── 2.content/
├── navigation.yml # Required
├── 1.overview.md
└── 2.pages.md/docs/content/docs/1.research/)Purpose: Global scientific evidence documenting light pollution impacts
Include:
::callout{color="info"} (1-2 sentences, factual)Exclude:
Example structure:
## 2. Agricultural Impacts
Overview text without citations explaining the category.
### 2.1 Pollination
:cited[Light pollution disrupts nocturnal pollinator activity.]{#study-id} Research documents :cited[62% reduction in pollinator visits under ALAN conditions]{#another-study}.
::callout{color="info"}
Maharashtra's agricultural economy depends heavily on pollinator-dependent crops including cotton, pulses, and fruits.
::/docs/content/docs/2.policy/)Purpose: Legal frameworks, Maharashtra obligations, action plans
Include:
Tone progression:
Example structure:
## 2. Dark Sky Zones Framework
This framework proposes classification of protected nighttime environments based on ecological sensitivity and astronomical value.
### 2.1 Zone Categories
**Tier 1: Core Dark Sky Reserves**
- Protected areas with <21.5 mag/arcsec² sky brightness
- Minimal artificial lighting permitted
- Examples: Bhimashankar Wildlife Sanctuary buffer zones/docs/content/docs/3.pilots/)Purpose: Implementation methodology (not specific site listings)
Include:
Exclude:
Example structure:
## 2. Site Selection Methodology
Pilot zones should be selected using a multi-criteria framework balancing ecological sensitivity, astronomical potential, and implementation feasibility.
### 2.1 Selection Criteria
**Ecological Priority**
- Presence of light-sensitive species
- Proximity to protected areas
- Migratory corridor significanceUse the right component for the right purpose:
| Need | Component | When to Use | Example Context |
|---|---|---|---|
| Key statistics | ::tip | Highlighting quantified findings | "Key Statistic: :cited[62% reduction in pollinator visits]{#study}" |
| Maharashtra context | ::callout{color="info"} | State-specific notes in Research | "Maharashtra Context: Western Ghats biodiversity hotspot..." |
| Background info | ::note | Supplementary context | Explaining technical terms or processes |
| Best practice | ::tip | Recommendations | Policy implementation guidance |
| Caution | ::warning | Potential issues | Implementation challenges |
| Must-know | ::important | Required actions | Mandatory compliance requirements |
| Success indicator | ::callout{color="success"} | Positive outcomes | "Dark Sky Conservation offers a 'quick win'..." |
Component Selection Guide:
::tip for key statistics, ::callout{color="info"} for Maharashtra context::important for requirements, ::tip for recommendations::warning for implementation challenges, ::tip for best practicesAlways include file paths or context:
export default defineNuxtConfig({ modules: ['@nuxt/content'] })
npm install katex rehype-katex remark-math
Use tables for quantified comparisons:
| Impact Domain | Key Finding | Relevant Departments |
|---------------|-------------|---------------------|
| Ecology | 62% pollination reduction | Environment, Agriculture |
| Health | 40% CVD risk increase | Public Health |When working on documentation:
:cited[cited text]{#id}:cited[cited text]{#id1,id2}[...] should be the fact, statistic, or source name the citation supports:cited[60% of invertebrates are nocturnal]{#holker-2010}:cited[The 2023 RAND Europe study]{#hafner-2023-insomnia-burden} quantifies...[text](internal:path):defn[term text]{#term-id}$expression$$$expression$$\$4.32 trillion$0.757\,\mathrm{tCO_2/MWh}$ALL quantitative data must come from: /Users/mac/Development/incubrain/product-validator/docs/MASTER_KEY.md
Never invent statistics. Never extrapolate data not in Master Key. If data is not available, note the research gap instead.
Voice and Clarity
Word Choice
| Avoid | Use |
|---|---|
| utilize | use |
| implement | add, create, establish |
| leverage | use |
| in order to | to |
| due to the fact that | because |
Structure
Documentation-Specific
Before finalizing content:
This skill focuses on content strategy and audience. The guidelines document handles technical syntax.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.