code-documentation

Write clear documentation within code using JSDoc, inline comments, and README files.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-documentation" with this command: npx skills add vihang-hub/integrated-sdlc-framework/vihang-hub-integrated-sdlc-framework-code-documentation

Code Documentation

Purpose

Write clear documentation within code using JSDoc, inline comments, and README files.

When to Use

  • Public function documentation

  • Complex logic explanation

  • API documentation

  • Module overviews

Process

  • Document public interfaces

  • Add JSDoc to functions

  • Comment complex logic

  • Create module README

  • Keep docs in sync

StudyAbroad-Specific Considerations

  • Document all service methods

  • Explain business logic

  • Document DTOs

  • API endpoint documentation

Examples

/**

  • Submits an application for review.
  • @param applicationId - The UUID of the application to submit
  • @param userId - The UUID of the user submitting (must be owner)
  • @throws {NotFoundException} If application doesn't exist or user doesn't own it
  • @throws {BusinessException} If application is incomplete or already submitted
  • @returns The updated application with 'submitted' status
  • @example
  • const submitted = await applicationService.submit('app-123', 'user-456');
  • console.log(submitted.status); // 'submitted' */ async submit(applicationId: string, userId: string): Promise<Application> { // Implementation... }

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

environment-configuration

No summary provided by upstream source.

Repository SourceNeeds Review
General

authentication-testing

No summary provided by upstream source.

Repository SourceNeeds Review
General

migration-writing

No summary provided by upstream source.

Repository SourceNeeds Review
General

error-handling-design

No summary provided by upstream source.

Repository SourceNeeds Review