Quality guide

Table of Contents

How the quality score works

Every document gets a score from 0 to 100, shown as a ring under the top bar. Click the ring to open the Quality tab: five bars, what the document already has, and the next steps with the points each one adds. Hover over any item for a tip; click it to come to its section on this page.

The score measures structure, metadata, links and age. It does not check that the content is correct.

Tiers

Tier Score Look
Exemplary 75 and up gold ring, a gold line under the top bar and a note
Complete 60 to 74 green ring
Basic 40 to 59 grey ring
Stub under 40 grey ring
Retired Status Obsolete, Deprecated, Withdrawn, Rejected no score

Records (documents whose WorkType is Change, Incident, Task or Meeting) are short by nature. They are judged by the sections of their WorkType skeleton instead of the shape of a DocType, need 60 words instead of 150 to 800, and get points for a final status instead of a recent date. A record is compared with records of the same WorkType.

Findable (15 points)

Can a reader find the document and know what it is? Points for the frontmatter keys, known values and a Summary.

Core keys

What it checks. The frontmatter has the core keys: Author, Date, DocType, Category, WorkType, Status, Tag, Topic, Scope and Product.

How to meet it. Add each missing key to the frontmatter, between the two --- lines at the top of the file. One point per key. WorkType is Knowledge for a procedure, note, post or report, and Change, Incident, Task or Meeting for a record.

markdown
---
Author: Ana Pérez
Category: Procedure
Date: 2026-10-24
DocType: How-to guide
Product: ADS
Scope: SAP Administration
Status: Released
Tag: certificate, renewal
Topic: Security
WorkType: Knowledge
---

Known values

What it checks. Status, Priority, DocType, Category and WorkType use values the theme knows, so lists, colours and filters work.

How to meet it. Use one of these values. Status: New, Open, Draft, Planned, Completed, Released, Finished, Successful, Degraded, Deprecated, Obsolete, Withdrawn, Rejected. Priority: Critical, Very high, High, Medium, Normal, Low. DocType: Tutorial, How-to guide, Reference, Explanation. Category: Procedure, Note, Post, Report, Template, Record, Minutes. WorkType: Knowledge, Change, Incident, Task, Meeting. An older Category: Change (or Incident, Task, Meeting) is not a known Category: move the type of work to WorkType. The list is in the quality block of theme.json.

markdown
Category: Procedure
DocType: How-to guide
Priority: Normal
Status: Released
WorkType: Knowledge

Category goes with WorkType

What it checks. Category (the form of the document) goes with WorkType (the type of work). A wrong pair costs 3 points.

How to meet it. WorkType: Knowledge goes with Category: Procedure, Note, Post, Report or Template. Change, Incident and Task go with Category: Record. Meeting goes with Category: Minutes. The pairs are in work_categories, in the quality block of theme.json.

markdown
Category: Record
WorkType: Incident

Summary

What it checks. A one-sentence Summary says what the document is for. It shows under the title, in search results and in link previews.

How to meet it. Add a Summary key with one sentence. Put it in double quotes when it contains a colon.

markdown
Summary: "Renew the Adobe ReaderRights credential before it expires and register it in ADS."

Structured (25 points)

Is it organised like its kind? Points for sections, a first section that gives context, the shape of its type and the sections of its skeleton.

Two or more sections

What it checks. The body is split into ## sections, so readers can skim it and the table of contents works.

How to meet it. Start each part with a level-2 heading. One section gives 3 of the 5 points.

markdown
## Description

What this is about.

## Steps

1. First step.

Opens with context

What it checks. The first section gives context: Description, Introduction, Overview, Summary, Objective, Context or Problem.

How to meet it. Make the first ## section one of those names, and say in a few lines what the document is for and when to use it.

markdown
## Introduction

The ReaderRights credential expires every year. This guide renews it.

Fits its DocType

What it checks. The body has the shape of its DocType.

How to meet it. How-to guide: three or more numbered steps, or a command in a code block. Tutorial: both. Reference: a table, or a list of five or more items. Explanation: three or more sections. Without a DocType, set one first.

markdown
1. Open transaction SU01.
2. Enter the user name.
3. Click Change.

```bash
sapcontrol -nr 00 -function GetProcessList
```

| Parameter | Value |
|---|---|
| login/min_password_lng | 8 |

Skeleton sections

What it checks. The document has the sections of its skeleton, the template for its Category or WorkType.

How to meet it. Add each missing section as a ## heading, with its content. Similar names count: Overview also matches Description, Introduction or Information; Impact matches Scope, Risk or Justification; Rollback matches Fallback or Backout; Verification matches Validation or Check; Resolution matches Solution or Fix; Implementation Plan matches Plan, Steps or Procedure; Result matches Outcome, Review or Closure; Investigation matches Analysis, Diagnosis or Symptoms; Follow-up Actions matches Actions, Prevention or Lessons learned; Subtasks matches Steps, Checklist or Plan; Decisions matches Conclusions or Agreed. A References section in a skeleton is scored once, under Connected. The skeletons are listed at the end of this page.

markdown
## Timeline

- 09:10 Alert received.
- 09:25 Service restarted.

Three or more sections

What it checks. Documents without a skeleton for their Category get full points with three or more sections.

How to meet it. Split the content into at least three ## sections, or set a Category that has a skeleton.

markdown
## Description

## Steps

## References

No empty sections

What it checks. Every heading has content under it.

How to meet it. Write something under the empty heading, or remove the heading. Each empty section costs 3 points, at most 6.

markdown
## Rollback

Restore the previous kernel from /usr/sap/SID/SYS/exe/old.

No skeleton text left

What it checks. The example text of the skeleton, such as "Step one" or "List prerequisites here.", has been replaced.

How to meet it. Replace every line of example text from the skeleton with your own content.

Complete (25 points)

Is there enough of it? Points for words, up to the target of its type.

Long enough for its type

What it checks. The body reaches the word target of its type: how-to guide 150, reference 200, explanation 500, tutorial 800, records 60. Code blocks do not count.

How to meet it. Explain the why, the prerequisites and the result, not only the commands. A document under 50 words (records: 20) gets at most 3 points. Words beyond the target add nothing.

Connected (15 points)

Is it part of the knowledge base? Points for links to and from other documents, sources, references and images.

What it checks. At least one other document links to this one, so readers can reach it by following links.

How to meet it. In a related document, add a link to this file. The page then lists it under "Linked from".

markdown
See also [Renew the ReaderRights credential](SAP-BC-ADS-READERRIGHTS.md).

What it checks. The document links to another document of the knowledge base.

How to meet it. Link to the file name with the .md extension. KB4IT turns it into a link to the page. A link to a section adds # and the section id.

markdown
Before you start, [stop the batch jobs](SAP-BC-TSK-SUSPEND-JOBS.md#steps).

Cites a source

What it checks. The document cites an external source: an SAP note, vendor documentation, a ticket.

How to meet it. Add a web link. SAP notes named in the text ("note 736902") are also shown in the Details tab.

markdown
See [SAP Note 736902](https://me.sap.com/notes/736902) and the [ADS documentation](https://help.sap.com/docs/).

References section

What it checks. A section named References, Documentation or Related collects the links.

How to meet it. Add a ## References section at the end, with one link per line.

markdown
## References

- [SAP Note 736902](https://me.sap.com/notes/736902)
- [Restore the database](RESTORE-DB.md)

Image or diagram

What it checks. The document has an image or a diagram.

How to meet it. Copy the image to source/resources/images/ and link it with a descriptive alt text, which becomes the caption. A Mermaid code block also counts.

markdown
![User list in transaction SU01](resources/images/su01-users.png)

```mermaid
flowchart LR
  A[Alert] --> B[Restart]
```

What it checks. Every link to another document points to a document that exists.

How to meet it. Check the file name and its .md extension, or create the missing document. Each broken link costs 3 points. kb4it verify lists them all.

markdown
[Restore the database](RESTORE-DB.md)

Images present

What it checks. Every image the document shows exists in the source folder.

How to meet it. Copy the file to the path in the link, under source/, or correct the path. Each missing image costs 3 points; the page shows a grey box instead.

markdown
![Transport log](resources/images/stms-log.png)

Profiles for the people it names

What it checks. A document names a person readers can look up: role, team, how to reach them.

How to meet it. Add a file whose name starts with PROFILE-, such as PROFILE-JANE-DOE.md, with the title # Jane Doe, ProfileOf: Author and at least one contact key. The person's page then shows the profile. Each person without a profile costs 2 points, and the profile checks cost at most 4 points per document. They apply once the knowledge base has a profile (author_profiles in the quality block of theme.json: auto, true or false). While the editor is on, the Quality tab links to the Add page with the Person profile skeleton.

markdown
---
Email: jane.doe@example.org
Role: Basis administrator
Team: SAP Basis
---

# Jane Doe

Runs the SAP Basis on-call rota.

Contact details in profiles

What it checks. The profile tells readers how to reach the person.

How to meet it. Add one of the contact keys to the profile: Email, Phone, Chat or Url (people.contact_keys in repo.json may list others). A private key (people.private) does not count, because readers cannot see it. Each person without contact details costs 1 point.

markdown
Email: jane.doe@example.org

Current (20 points)

Can a reader trust it today? Points for a final status and a recent Date.

Final status

What it checks. The Status is final: Released, Completed, Finished, Successful or Degraded.

How to meet it. When the document is ready, set a final status. A draft or an open item gets fewer points (records: 10 of 20).

markdown
Status: Released

Recently reviewed

What it checks. The Date is recent. The points halve every 3 years for how-to guides and tutorials, 4 for references and 8 for explanations. Records do not lose points with age.

How to meet it. Review the content: check commands, versions and screenshots. Then set the Date to the day of the review.

markdown
Date: 2026-10-24

Dated

What it checks. The document has a Date in a format KB4IT reads.

How to meet it. Add a Date key as YYYY-MM-DD, YYYY-MM-DD HH:MM or YYYY-MM-DD HH:MM:SS.

markdown
Date: 2026-10-24

Skeletons

A skeleton is the template the Add page starts a document from. The quality score checks that a document has the ## sections of its skeleton: records use the skeleton of their WorkType, knowledge documents (WorkType: Knowledge) the skeleton of their first Category.

Change

Sections: Overview, Impact, Implementation plan, Verification, Rollback, Result.

markdown
---
Author:
Category: Record
Date: YYYY-MM-DD
DocType: Reference
Downtime:
DowntimeEnd:
DowntimeStart:
Environment:
Priority: Normal
Product:
SID:
ScheduledEnd:
ScheduledStart:
Scope:
Status: New
Summary:
Tag:
Team:
Topic:
WorkType: Change
---

# Title of the change

## Overview

Describe the change: what, where, when and why.

- Type: Standard, Normal or Emergency.
- Requested by: name the requester and the ticket.
- Affected: list the systems and services.
- Related: link the incidents, problems and changes behind it.

### Approvals

| Approval | Name | Date | Decision |
|---|---|---|---|
| Technical | Approver | YYYY-MM-DD | Approved |
| Service owner or CAB | Approver | YYYY-MM-DD | Approved |

## Impact

Describe the business and technical impact: who loses what, and for how long.
Set Downtime to Yes, with DowntimeStart and DowntimeEnd, when a service stops.

### Risks

| Risk | Probability | Impact | Mitigation |
|---|---|---|---|
| What can go wrong | High, Medium or Low | High, Medium or Low | How you prevent or limit it |

List the dependencies: interfaces, jobs or teams that must be ready.

## Implementation Plan

List the prerequisites and the pre-checks, such as a recent backup and free disk space.

1. Describe the first step, with its owner and its expected result.
2. Describe the next step, with its owner and its expected result.

```bash
replace-with-the-command --and-its-options
```

## Verification

Describe the checks after the change: services up, logs clean, users confirm.

## Rollback

Say when to roll back: the decision criteria and the latest time to decide.

1. Describe the first rollback step.
2. Describe the next rollback step, up to the check that proves the old state is back.

State how long a full rollback takes.

## Result

Record the outcome: Successful, Failed or Rolled back, with the actual start and end times.

- Describe the deviations from the plan and the unexpected issues.
- [ ] Describe the follow-up action, with its owner and due date (YYYY-MM-DD).
- Name the lessons learned and the documents to update.

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.

Incident

Sections: Summary, Timeline, Investigation, Root cause, Resolution, Follow-up actions.

markdown
---
Author:
Category: Record
Date: YYYY-MM-DD
DetectedDate:
DocType: Reference
Environment:
Priority: Normal
Product:
ResolvedDate:
SID:
Scope:
Status: New
Summary:
Tag:
Team:
Topic:
WorkType: Incident
---

# Title of the incident

## Summary

Summarise what failed, for whom and for how long.

- Affected: list the systems, services and users.
- Business impact: say what stopped or slowed down.
- Detected by: name the monitoring alert, the user report or the ticket.

## Timeline

Write HH:MM, or YYYY-MM-DD HH:MM when the incident spans more than one day.

- HH:MM Incident detected: describe the alert or the first report.
- HH:MM Investigation started: say who took it.
- HH:MM Workaround applied or service restored.
- HH:MM Root cause identified and permanent fix in place.

## Investigation

Describe the symptoms and the error messages, as users and the logs show them.

```text
Paste the relevant log lines or the error message.
```

List the diagnostic commands, what you tested and what you found.
Name the vendor support case, if you opened one.

## Root Cause

Explain why it failed. Link the change or the problem record behind it.

## Resolution

Describe the workaround that restored the service and the permanent fix, with the commands and configuration changes.
Say how you checked the fix and who confirmed that the service works again.

## Follow-up Actions

- [ ] Describe the preventive action, with its owner and due date (YYYY-MM-DD).
- [ ] Write or update the knowledge article or procedure that would have helped.

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.

Meeting

Sections: Objective, Attendees, Agenda, Notes, Decisions, Action items.

markdown
---
Author:
Category: Minutes
Date: YYYY-MM-DD
DocType: Reference
Product:
Scope:
Status: New
Summary:
Tag:
Team:
Topic:
WorkType: Meeting
---

# Title of the meeting

## Objective

Say why the meeting took place and what it had to decide.
Give the room or the call link, and link the minutes of the previous meeting.

## Attendees

- List each attendee with their role. Mark the organiser and who was absent.

## Agenda

- Describe the first agenda item.
- Describe the next agenda item.

## Notes

Record the discussion of each agenda item: technical details, risks found and open questions.

## Decisions

- Describe each decision, who took it and the record it leads to, such as a change.

## Action Items

- [ ] Describe the action, with its owner and due date (YYYY-MM-DD).

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.

Note

Sections: Overview, Details.

markdown
---
Author:
Category: Note
Date: YYYY-MM-DD
DocType: Explanation
Product:
ReviewDate:
Scope:
Status: Draft
Summary:
Tag:
Topic:
WorkType: Knowledge
---

# Title of the note

## Overview

Say what this note is about and why it matters.

## Details

Explain the topic: background, how it works, what to keep in mind.
Name the environment and the versions you tested it on.

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.

Post

Sections: Overview, Details.

markdown
---
Author:
Category: Post
Date: YYYY-MM-DD
DocType: Explanation
Product:
Scope:
Status: Draft
Summary:
Tag:
Topic:
WorkType: Knowledge
---

# Title of the post

## Overview

Say what this post is about and who should read it.

## Details

Write the body of the post: what happened, what changed, what it means for the reader.

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.

Procedure

Sections: Introduction, Prerequisites, Steps, Verification.

markdown
---
Author:
Category: Procedure
Date: YYYY-MM-DD
DocType: How-to guide
Environment:
Periodicity:
Priority: Normal
Product:
ReviewDate:
SID:
Scope:
Status: Draft
Summary:
Tag:
Team:
Topic:
WorkType: Knowledge
---

# Title of the procedure

## Introduction

Say what this procedure achieves and when to use it.
Name the systems it applies to, how long it takes and the risk of running it.

## Prerequisites

- Access, role or authorisation needed.
- Systems, tools or files needed before you start.
- Backup or maintenance window, if the procedure changes data.

## Steps

1. Describe the first step.
2. Describe the second step and the output you expect.
3. Describe a conditional step: say when it applies and which step comes next.

```bash
replace-with-the-command --and-its-options
```

```text
Paste the output you expect.
```

!!! warning "Risky step"
    Say what can go wrong in this step and how to avoid it.

## Verification

Explain how to check that the procedure worked, and what to do if a check fails.

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.

Report

Sections: Executive summary, Findings, Recommendations.

markdown
---
Author:
Category: Report
Date: YYYY-MM-DD
DocType: Reference
Product:
Scope:
Status: Draft
Summary:
Tag:
Topic:
WorkType: Knowledge
---

# Title of the report

## Executive Summary

Summarise the main findings and the decision you need, in a few lines.
State the period the report covers and where the data comes from.

## Findings

| Area | Finding | Impact |
|---|---|---|
| System or process | What you found | High, Medium or Low |

## Recommendations

- Recommend the first action, with an owner and a due date (YYYY-MM-DD).
- Recommend the next action, with an owner and a due date (YYYY-MM-DD).

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.

Task

Sections: Objective, Acceptance criteria, Subtasks, Notes.

markdown
---
Author:
Category: Record
Date: YYYY-MM-DD
DocType: Reference
DueDate:
Priority: Normal
Product:
Scope:
Status: New
Summary:
Tag:
Team:
Topic:
WorkType: Task
---

# Title of the task

## Objective

Describe what this task must achieve and why.
Link the incident, change or meeting it comes from, and name what it depends on.

## Acceptance Criteria

- [ ] Describe the first condition for done.
- [ ] Describe the second condition for done.

## Subtasks

- [ ] Describe the first subtask, with its owner.
- [ ] Describe the next subtask, with its owner.

## Notes

Record decisions, findings and links gathered while working, one dated line each.

- YYYY-MM-DD Describe what you did or found.

## References

- [SAP Note 0000000](https://me.sap.com/notes/0000000)
- Link the documents this one builds on.
Back to top