coding-assistant

Create and sync structured WPS technical notes from code and reviews.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/dy9759/SkillCollection --skill coding-assistant-dy9759
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-assistant
Source: https://github.com/dy9759/SkillCollection/tree/main/skills/coding-assistant
Command: npx skills add https://github.com/dy9759/SkillCollection --skill coding-assistant-dy9759

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes friction from turning code, reviews, and architecture discussions into structured, shareable WPS technical notes by automatically extracting core code, generating diagrams, and keeping documentation in sync with active development.

Core Features & Use Cases

  • Automatic trigger during coding and review: Detects use of Cursor, Codex, Claude Code, or AS code and trigger phrases like "architecture", "设计图", "核心方法" to start note creation or updates.
  • Structured WPS technical notes: Ensures notes include seven required sections (Core Technology, Core Code, Key Technical Points, Core Classes and Responsibilities, Call Chain, Architecture Overview, Notes) and inserts mermaid call chains and generated diagrams where required.
  • Multiple code sources and robust sync: Gathers core code from annotated comments, selected text, clipboard, or specified functions; performs list_notes → read_or_create → batch_edit flow with get_note_outline and sync_note; retries on BLOCK_NOT_FOUND and periodically refreshes while a note remains open.
  • Image generation and insertion: Uses WPS generate_image when available to create architecture, core-technology, and call-chain diagrams and inserts them with insert_image; falls back to mermaid or external images when necessary.
  • Use case: During a code review, instruct the assistant to "record the architecture and key methods for this module" and receive a fully structured WPS note with diagrams and code blocks updated and preserved.

Quick Start

Create or update a WPS technical note for the current module, extracting core code, generating a mermaid call chain, and inserting an architecture diagram.

Frequently Asked Questions about coding-assistant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate technical documentation from code and code reviews?

You can automatically generate technical documentation by triggering note creation during coding or review sessions with tools like Cursor, Codex, or Claude Code. The assistant extracts core code, generates mermaid calling chains, and inserts architecture diagrams directly into structured WPS notes.

How do I create structured WPS notes with mermaid diagrams for software architecture?

To create structured WPS notes with mermaid diagrams, instruct the assistant to record architecture or key methods for a module. It automatically structures the note into seven required sections, generates mermaid call chains, and uses the WPS generate_image API to insert architecture diagrams.

Does this technical documentation automation work with multi-platform development workflows?

Yes, this technical documentation automation applies to multi-platform software development workflows. It detects trigger phrases like "architecture" or "设计图" during coding, review, and architecture design sessions across various code tools to start note creation or updates.

What is the best way to keep WPS technical documentation in sync with active development?

The best way to keep WPS technical documentation in sync is through periodic monitoring and batch editing. The assistant performs a list_notes, read_or_create, and batch_edit flow, periodically refreshing open notes and automatically retrying when encountering block errors.

Can I use generate_image to insert architecture diagrams into WPS notes from clipboard code?

Yes, you can use the WPS generate_image feature to create architecture, core-technology, and call-chain diagrams from multiple code sources including annotated comments, selected text, clipboard, or specified functions, inserting them with the insert_image API.

Why are my WPS note block edits failing during technical documentation synchronization?

WPS note block edits may fail due to block synchronization issues. The assistant handles this by automatically retrying on BLOCK_NOT_FOUND errors and performing periodic refreshes while the technical note remains open to maintain documentation sync.