Author high-quality Markdown documentation with deterministic structure, lint compliance, and CI integration. Use when writing README files, creating docs pages, fixing markdownlint failures, defining style rules, or wiring markdown checks into pre-commit and pipelines. Keywords: markdown, markdownlint, readme, docs, headings, lists, code fences, links, images, lint config, ci, documentation style.
Overall
score
100%
Does it follow best practices?
Validation for skill structure
Bad:
In order to be able to use this feature, you will need to first install the package and then configure it properly before you can actually start using it.Good:
Install and configure the package before use.Bad:
The file is read by the parser and the data is extracted.Good:
The parser reads the file and extracts the data.Bad:
One should configure the database before starting the application.Good:
Configure the database before starting the application.Or:
You should configure the database before starting the application.Bad:
The function will return a promise that will resolve with the data.Good:
The function returns a promise that resolves with the data.Example:
## Installation
npm (Node Package Manager) is included with Node.js. To install this package, run:
```bash
npm install package-nameThis downloads the package and adds it to your project's dependencies.
Example:
## Installation
```bash
npm install package-nameSupports Node.js 18+ with ESM and CJS. See the changelog for upgrading from v1.x.
Start simple, add complexity gradually:
## Basic Usage
```javascript
const result = api.fetch('/users');const result = await api.fetch('/users', {
timeout: 5000,
retries: 3,
cache: true
});For fine-grained control, use the low-level API:
const client = api.createClient();
client.configure({ /* ... */ });
const result = await client.request({ /* ... */ });
```javascript
Bad:
Configure the settings appropriately.Good:
Set `timeout` to `5000` and `retries` to `3`.Bad:
The function accepts various options for configuration.Good:
```javascript
fetchData({
timeout: 5000, // Request timeout in milliseconds
retries: 3, // Number of retry attempts
cache: true // Enable response caching
});### Define Technical Terms
First use:
```markdown
Use JWT (JSON Web Token) for authentication. JWTs are...Subsequent uses:
The JWT contains...Bad:
Run the script before deployment.Good:
Run `npm run build` before deploying to production.For single lines:
const timeout = 5000; // Connection timeout in millisecondsFor functions, classes, or complex logic:
/**
* Fetches user data from the API.
*
* @param {string} userId - The user's unique identifier
* @param {Object} options - Optional configuration
* @param {number} options.timeout - Request timeout in milliseconds
* @returns {Promise<User>} The user object
* @throws {NotFoundError} If user doesn't exist
*/
async function fetchUser(userId, options = {}) {
// Implementation
}Show commands with expected output:
```bash
npm test
```
```
> project@1.0.0 test
> jest
PASS tests/api.test.js
✓ should fetch users (45ms)
✓ should handle errors (12ms)
Tests: 2 passed, 2 total
```Show complete, working examples:
```javascript
// config.js
module.exports = {
database: {
host: 'localhost',
port: 5432,
name: 'myapp'
},
server: {
port: 3000,
cors: true
}
};
```Start items with same part of speech:
Bad:
- Installing dependencies
- Configuration
- To run the testsGood:
- Install dependencies
- Configure settings
- Run testsUse sparingly:
Code for code referencesBad:
**IMPORTANT:** You **MUST** run `npm install` **before** starting!Good:
Run `npm install` before starting.Too Formal:
One must ensure that the appropriate configuration has been applied prior to initialization.Too Casual:
Just slap in some config and you're good to go!Just Right:
Configure the application before starting it.Wordy:
In order to be able to use this feature...Concise:
To use this feature...Wordy:
It is important to note that...Concise:
Note:Negative:
Don't forget to configure the database or the application won't work.Positive:
Configure the database to ensure the application works correctly.Bad:
Use the CLI to scaffold the project.Good:
Use the command-line interface (CLI) to generate project files:
```bash
npx create-app my-project### Vague Instructions
**Bad:**
```markdown
Update the configuration as needed.Good:
Update `config.json`:
```json
{
"apiKey": "your-api-key-here",
"timeout": 5000
}### Missing Context
**Bad:**
```markdown
Run the migration:
```bash
npm run migrate**Good:**
```markdown
Apply database migrations to create the required tables:
```bash
npm run migrateThis creates the users and posts tables in your database.
## Best Practices
1. **Write for scanability**: Use headings, lists, and short paragraphs
2. **Show, don't tell**: Use examples instead of descriptions
3. **Be consistent**: Use same terms, formatting, and structure
4. **Test your docs**: Follow your own instructions to verify they work
5. **Keep it updated**: Review and update documentation regularly
6. **Get feedback**: Have others review your documentation
7. **Use templates**: Create templates for common documentation types
## Checklist
- [ ] Concise and clear
- [ ] Active voice
- [ ] Present tense
- [ ] Addresses reader directly
- [ ] Appropriate for audience
- [ ] Specific and detailed
- [ ] Includes working examples
- [ ] Technical terms defined
- [ ] No ambiguity
- [ ] Consistent terminology
- [ ] Proper formatting
- [ ] Professional tone
- [ ] All instructions testedInstall with Tessl CLI
npx tessl i pantheon-ai/markdown-authoring@0.1.1