Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

prose-standard

/prose-standard

Pisze i przegląda teksty projektu: decyduje, gdzie wymagane są dokumentacja i komentarze w Markdown, JSDoc, promptach i interfejsie.

Licencja
MIT
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pisze i przegląda teksty projektu: decyduje, gdzie wymagane są dokumentacja i komentarze w Markdown, JSDoc, promptach i interfejsie.

Oryginalny opis (EN)

Use when writing, reviewing, restoring, trimming, or auditing prose in this project, including deciding where documentation or comments are required across Markdown, JSDoc, code and test comments, prompts, descriptions, diagnostics, and CLI or UI strings.

Jak działa

  1. Inputs and exclusions
  2. Preserve the complete proposition
  3. Required coverage by prose location
  4. Workflow
  5. Borderline decisions
Sekcje z nagłówków SKILL.md, w oryginale · 78 linii, 1 205 słów
Podgląd SKILL.md
---
name: prose-standard
description: Use when writing, reviewing, restoring, trimming, or auditing prose in this project, including deciding where documentation or comments are required across Markdown, JSDoc, code and test comments, prompts, descriptions, diagnostics, and CLI or UI strings.
---

# Project prose standard

Write enough to preserve the contract, then remove reasoning transcripts, repetition, and decoration. A contract is an obligation, invariant, precondition, postcondition, or compatibility promise that a caller, callee, implementer, producer, or consumer relies on. This skill owns editorial judgment and required prose coverage; use [doc-maintenance](../doc-maintenance/SKILL.md) for placement, budgets, bilingual pairs, and documentation gates, and [trim-session-residue](../trim-session-residue/SKILL.md) for hunting and fixing reasoning-transcript leakage. It is guidance, not a script.

Treat `contract`, `boundary`, `shape`, `surface`, `seam`, `gate`, and `vocabulary` as terms to check before use, not banned words. First ask whether the exact rule, API, field set, type, validation, timing point, component split, or failure states the fact better. Keep a term when it names the exact technical subject, including caller/callee contracts and security/process boundaries.

Comments describe non-obvious contracts or rationale that code cannot express; they do not restate what code already implies.

## Inputs and exclusions

Use the user’s named files, directory, change, or initialization outputs as scope. Initialization explicitly scopes the newly generated and integrated documents. If no scope can be inferred, ask one concise question; never silently audit the whole repository.

Accept `mode: automatic | interactive`; default to `automatic`. Enter interactive mode only when the user explicitly requests questions or calibration.

`mode` controls questions, not write authority. Review and audit tasks report findings without editing; explicitly requested write, fix, or trim tasks apply clear changes.

Exclude third-party, generated, dependency, and frozen-archive paths from authored-prose edits, using this project’s configuration and ownership. Do not follow symlinks into excluded trees. A folder named vendor is not proof of third-party ownership; inspect the project’s convention. Put exclusions after inclusion globs.

Read `.agents/docs-config.json` for the decision root and format. Frozen archives are excluded from prose review and edits. Inspect an exact historical citation only to understand it, never to modernize prose or repair outbound links.

Treat generated catalogs, snapshots, and fixtures as derivative. Trace consumers before editing; update the owning source or scenario and regenerate affected outputs. An extracted summary must be complete on its own. If the project maintains translations, update the counterpart minimally and use its existing consistency checks; do not introduce bilingual maintenance by default.

## Preserve the complete proposition

Before editing, identify every proposition in the passage. Preserve each relevant:

- actor and action;
- condition, timing, and ordering;
- modality such as must, may, or never;
- negative guarantee and exception;
- ownership, side effect, failure mode, and consequence.

Remove adjectives, repetition, and narration only when every factual clause survives and the result is clearer. A smaller word count alone is not an improvement.

Keep a complete local contract at the point of use: behavior, failure, ownership, and consequence that a caller or maintainer needs there. Aggressively link to the owning document for architecture, rationale, algorithms, history, or extended examples. One explanation has one home; essential contract facts may repeat locally.

Keep non-obvious rationale when omitting it could plausibly cause misuse or an incorrect simplification. Otherwise state the consequence and link the rationale home.

## Required coverage by prose location

This is not a one-way shortening pass. Add or restore prose when code, types, and structure do not communicate a required contract below. Do not add a comment when those facts are already obvious locally.

- **Public JSDoc:** document caller-visible return distinctions, throws or rejections, side effects, ownership, timing, cancellation, and durability.
- **Internal comments:** orient non-local structure and obviously complicated local structure, including invariants, race ordering, ownership, security boundaries, and surprising failure behavior. Delete control-flow narration and code restatement.
- **Module comments:** state the module's role, dependencies, responsibilities, and non-obvious architecture choices; link architecture choices to their owning explanation.
- **Tests:** explain only non-obvious test design—why a fixture, assertion, platform accommodation, real entry path, or indirect observation is necessary. Delete walkthroughs and inventories.
- **Cookbooks:** include prerequisites, required actions, the real entry path, observable verification, and concise warnings.
- **READMEs:** include the consumer contract: configuration, semantics, failures, limitations, extension points, and model-visible effects. Quote stable model-visible text owned by the package; link generated catalogs and cross-package owners. Keep durable gaps and maintainer traps, not ordinary cleanup inventories. Follow the [package README requirements](../doc-maintenance/references/review.md).
- **Agent Notes:** retain unique rationale, mechanisms, alternatives, consequences, shipped verification evidence, and named coverage gaps. Implemented Agent Notes state shipped reality in the present tense; remove planning checklists, not evidence of what pins the decision.
- **Postmortems:** retain the incident sequence, evidence, causal chain, impact, and prevention. Remove repeated persuasion or implementation detail that does not establish causality.
- **Skills and agent instructions:** state behavioral guardrails and explicit scope limitations such as “guidance, not a script/checklist.” Keep the workflow concise and link its source of truth.
- **Examples and configuration comments:** explain access limits, non-obvious wiring or load order, security stance, replay behavior, exceptions, and likely misuse. Do not narrate entries that the configuration already shows.
- **Prompts and visible strings:** treat wording as behavior. Identify the owning source and actual consumers, preserve localization and accessibility conventions, and use the project’s relevant behavior tests. A prose-only review reports suspected behavior changes; it does not silently make them. Do not require a snapshot infrastructure that the project does not have.
- **Diagnostics:** name the failing subject or path, violated rule, and correction when it is non-obvious. Remove internal execution narration.

Preserve searchable mechanism names and meaningful modal, temporal, or negative emphasis. Normalize decorative emphasis only.

## Workflow

1. Confirm the scope, mode, current branch or PR base, and applicable `AGENTS.md` files. Do not inspect unrelated branches.
2. Read [the documentation standard](../doc-maintenance/references/standard.md) and the owning code or document before judging a passage. For calibration or unfamiliar cases, read [the distilled examples](references/examples.md).
3. Inspect the requested scope, not only the largest files. Use searches and word counts to find candidates, then judge passages semantically.
4. Classify each candidate as keep, add, trim, restore, restructure, or defer. Apply clear changes only when the task authorizes edits; do not manufacture edits to satisfy a deletion target.
5. Update the owner before derivative artifacts. Re-check analogous passages after learning a new rule.
6. Run the narrow relevant checks and the documentation validator listed in `.agents/docs-config.json`. Use `git diff --check` when Git is available. Verify exclusions and report only commands actually run; checks do not prove semantic correctness.
7. Report the inspected scope, clear changes, deliberate keeps, deferred cases, and checks actually run.

## Borderline decisions

A case is borderline only when at least two versions satisfy the complete-proposition rule but trade accepted principles, and this skill does not already resolve the tradeoff. A rewrite with one proposition-preserving answer is not borderline.

In automatic mode, apply clear edits when authorized and report genuine borderline cases without asking questions. Do not weaken a proposition to make progress.

In interactive mode, group analogous passages under the governing principle. Present two or three viable versions, recommend one, and state the factual or structural difference. Do not offer inferior distractors. Use the user's requested channel; when calibrating a PR through inline comments, place the recommended provisional version in the diff and attach the alternatives to that exact line.

After the user decides, distill the principle and versions into [the examples](references/examples.md), without PR history or reviewer narration, and apply the learned rule to every analogous passage in scope.
Pliki w paczce (2)
  • SKILL.md 9 KB
  • references/examples.md 9 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · cyijun/agent-docs-skill100MIT
arch3rpro/dsh-skills90MIT

Migawka bazy z 13.11.2026 · wersja paczki f20d6d4f367e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100dsh-prose-standard
    Ustala standard tekstu w repozytorium deepseek-harness i wskazuje, gdzie wymagane są dokumentacja i komentarze: Markdown, JSDoc, komentarze w kodzie i testach, prompty, diagnostyka oraz napisy CLI i UI.
  • 100dsh-prose-standard
    Pisze, sprawdza i przywraca tekst w repozytorium DSH, decydując, gdzie potrzebna jest dokumentacja: Markdown, JSDoc, komentarze, prompty i komunikaty.
  • 100pg-prose-standard
    Pilnuje standardu pisania w repozytorium: dokumentacji, komentarzy, opisów i komunikatów CLI, także przy przeglądzie tekstów.
  • 100dsh-prose-standard
    Pilnuje standardu prozy w deepseek-harness: pisanie, przegląd i przycinanie tekstu w Markdown, JSDoc, komentarzach, promptach, diagnostyce i komunikatach CLI oraz UI.
  • 100documentation
    Pisze dokumentację w kodzie, README folderów i komentarze, w tym JSDoc, oraz wyjaśnia kod.
  • 95jsdoc-guide
    Podpowiada zasady pisania JSDoc i komentarzy w kodzie, tak by dokumentacja funkcji była spójna i nadawała się do generowania.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.