← スキル一覧に戻る

fix-markdown
by mystilleef
Collection of LLM agent skills and commands
⭐ 0🍴 0📅 2026年1月24日
SKILL.md
name: fix-markdown description: Fix lint, formatting, and prose issues in markdown files using Prettier and Vale. Use when the user or agent needs to fix lint, formatting, and prose issues in markdown files.
Agent protocol: Fix markdown file
GOAL: use prettier and vale to fix lint, formatting, and prose
issues in markdown files.
WHEN: use when the user or agent needs to fix lint, formatting, or
improve prose in markdown files.
NOTE: strictly follow E-Prime directive (avoid "to be" verbs)
when writing or correcting prose.
References
The following reference files serve as strict guidelines when updating prose.
Locate the reference files in the references folder.
references/e-prime-directive.md: The E-Prime Communication Protocol defining the rules for avoidingto beverbs.
Primary directives
Formatting and linting sequence
- Format first & last: Always run prettier before analysis and after edits
- E-Prime compliance: Strictly follow
references/e-prime-directive.mdwhen writing/correcting prose - Vale cycle: Run vale iteratively (lint → fix → verify) until no issues remain
- Research complex issues: Use search tools or Perplexity for unfamiliar lint problems
Tool commands
- Format:
prettier --write <file_path> - Sync rules:
vale sync - Lint:
vale --no-wrap --output=JSON <file_path>
Vale fixing guidelines
- Path wrapping: Wrap filenames,
URIs,URLs, and paths in backticks - Context awareness: Check line numbers - issues may appear as
substringsin technical terms - False positives: Wrap acronyms, names, and proper nouns in backticks
- Headings: Use sentence case (capitalize first character only)
- Passive voice: Follow E-Prime directive to remove "
to be" verbs - Follow hints: Use Vale's issue links when needed
Efficiency directives
- Optimize all operations for token and context efficiency
- Batch operations on file groups, avoid individual file processing
- Use parallel execution when possible
- Target only requested files
- Reduce token usage in all operations
Workflow
- Run
vale syncto update lint rules - Run
prettier --writefor baseline formatting - Study file and apply Vale path directives (wrap all paths/filenames in backticks)
- Iteratively run
vale, fix issues, and verify until no issues remain - Run
prettier --writefor final formatting DONE
Output
Files modified:
- Target markdown files - Formatted and lint-free
Status communication:
- Reports number of issues fixed
- Confirms Vale shows zero remaining issues
- Lists file paths processed
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です