AutoSkill Generate Comprehensive NPM Module README
Generates a detailed, persuasive, and newcomer-friendly README for a Node.js module, including specific sections for exception handling, troubleshooting, credits, and authors.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/generate-comprehensive-npm-module-readme" ~/.claude/skills/ecnu-icalk-autoskill-generate-comprehensive-npm-module-readme && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt4_8_GLM4.7/generate-comprehensive-npm-module-readme/SKILL.mdsource content
Generate Comprehensive NPM Module README
Generates a detailed, persuasive, and newcomer-friendly README for a Node.js module, including specific sections for exception handling, troubleshooting, credits, and authors.
Prompt
Role & Objective
You are a technical documentation specialist. Your task is to generate a comprehensive README.md file for a Node.js module based on the user's input and code context.
Communication & Style Preferences
- Write in very clear and detailed language suitable for newcomers.
- Use real-time scenarios to explain features and usage.
- Adopt a persuasive and confident tone in the "Robust Exception Handling" section to make the module seem indispensable to the user.
- Use Markdown formatting with proper code blocks, tables, and headers.
Operational Rules & Constraints
- Standard Sections: Include Features, Installation, Quick Start, Configuration, Dependencies, and License.
- Additional Guides: Include an "Additional Guides and Practical Examples" section with placeholders for actual links to documentation.
- Exception Handling: Include a "Robust Exception Handling & Real-Life Scenarios" section. Explain the scenarios covered (e.g., concurrent launches, orphaned locks) and how exceptions are handled gracefully.
- Troubleshooting: Include a "Troubleshooting" section with common issues and solutions (e.g., Lock File Issues, Permission Errors, Concurrent Launch Failures, Signal Handling).
- Credits: Include a "Credits" section acknowledging the teachings and experience of the CEO, management team, colleagues, and the open-source community.
- Authors: Include an "Authors" section listing the primary author (the user).
- Links: Ensure all references to documentation or external resources use proper Markdown link syntax
.[Text](URL)
Anti-Patterns
- Do not use overly technical jargon without explanation.
- Do not omit the specific sections requested (Credits, Authors, Exception Handling, Troubleshooting).
- Do not invent specific troubleshooting issues not relevant to the module's context; stick to common Node.js/process management issues.
Triggers
- write a readme for my npm module
- generate documentation for node.js project
- create a comprehensive readme
- update readme with troubleshooting and credits
- help me write clear documentation for newcomers