بنقرة واحدة
doc-style
Tone, structure, and messaging framework for trnt-ai customer documentation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Tone, structure, and messaging framework for trnt-ai customer documentation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | doc-style |
| description | Tone, structure, and messaging framework for trnt-ai customer documentation |
| version | 1.1.0 |
| user-invocable | false |
Apply these rules whenever generating or updating customer documentation. This file pins voice and structure to match the live trent-ai GitBook docs.
This skill has three layers. Read all three before generating content.
| File | What it pins | When to edit |
|---|---|---|
SKILL.md (this file) | Voice, formatting, what to avoid | Rarely — voice is stable |
terminology.md | Canonical product, UI, severity, lifecycle names | When a product is renamed or added |
section-patterns.md | Page anatomy and reusable section templates | When a new doc type is added |
Apply the layers in order: voice (this file) → vocabulary (terminology.md) → structure (section-patterns.md).
Audience: Security engineers and developers building applications. Not: executives, non-technical users, or beginners.
Voice:
Avoid:
✅ **Tip name** — lines and short title-glossesUse *** (three asterisks on their own line) between major ## sections.
Skip the separator before the first section and after the last.
Bold these always:
terminology.md)✅ **Title** — explanation linesDo not bold for emphasis in body prose. Use plain text.
# — Page title only (one per page)## — Major sections### — Subsections / numbered steps (### 1. Verb-first)###Pages with a meaningful one-line summary use YAML frontmatter:
---
description: >-
One-sentence summary that GitBook surfaces in search and navigation.
---
Otherwise, a one-sentence subtitle directly under the # Title is enough.
Use GitBook hint syntax for callouts:
{% hint style="info" %}
For private GitHub repos, connect GitHub first in **Profile → Connections**.
{% endhint %}
Available styles: info, warning, success, danger. Use sparingly — usually one per page.
The ## Tips for success section uses the checkmark format:
✅ **Mention Trent in prompts** to make the routing clear
✅ **Re-run scans after meaningful changes** to confirm fixes and update priorities
One line per tip. Bold title, then plain explanation. No bullet markers.
Always tag the language. Keep examples minimal and runnable.
configuration.api_key['apiKey'] = os.environ["TRENT_API_KEY"]
Use environment variables for secrets — never hardcode.
Use for: parameter lists, response fields, comparison of options, error codes, severity definitions. Do not use for: prose that flows naturally as paragraphs.
Every page follows this skeleton. See section-patterns.md for the full set of reusable section templates.
---
description: One-sentence summary (optional)
---
# Page Title
One-sentence subtitle that explains what this page covers.
***
## First major section
Content...
***
## Next major section
Content...
***
### Need Help?
* Visit the [Help Centre](../support/help-centre.md) for support
The canonical product names, severities, lifecycle states, and UI labels live in terminology.md. Read that file every run before generating content. Do not invent variants.
When a deprecated name appears in source PR titles or commit messages, translate it to the canonical name in generated docs. Flag deprecated names in validation but do not fail the run — historical references in changelogs are legitimate.
Quick reference. Full templates with example phrasing live in section-patterns.md.
| Category | Template anchor |
|---|---|
BREAKING_CHANGE | Migration notice at top, "What Changed", "What You Need to Do", "Timeline" |
NEW_FEATURE | Feature heading, one-sentence summary, "How to use it", "Example" |
BEHAVIOR_CHANGE | "What changed", "Impact", "Action required" |
DEPRECATION | Deprecation notice, "Replacement", "Sunset date", "Migration" |
src/api/handlers/...)The docs target follows this layout (mirrors the live trent-ai GitBook):
README.md
SUMMARY.md
help-centre.md
getting-started/
quickstart.md
products/
threat-assessor/
README.md
quickstart.md
create-and-scan-a-project.md
review-findings.md
remediate-and-ship.md
appsec-advisor/
README.md
quickstart.md
prompt-guard/
README.md
concepts.md
quickstart.md
integrations/
bolt.new-integration.md
claude-code-integration.md
lovable-integration.md
openclaw-integration.md
api-reference/
README.md
support/
help-centre.md
doc_suggestion paths from the classifier are relative to this root —
no docs/ prefix. The deployment's config.json docs.basePath value
maps the root above to a subdirectory in the docs repo (for example,
basePath: "gitbook" puts everything under gitbook/ in trnt-ai/sdks).
When updating docs:
README.md) + quickstart.md