tasks-documentation
БесплатноБез исполняемых скриптовНе проверенUse for WRITING documentation with ready-to-use code templates (C# XML docs, TypeScript JSDoc, API docs, README patterns). Best for implementing actual…
от CongDon1207★ 18 звёзд на GitHubОб этом скилле
Documentation Workflow
When to Use This Skill
- Creating API documentation
- Writing code comments
- Updating README files
- Generating architecture documentation
Documentation Types
1. Code Comments
- XML docs for public APIs
- Inline comments for complex logic
- TODO/FIXME for technical debt
2. API Documentation
- Endpoint descriptions
- Request/response schemas
- Error codes and handling
3. Architecture Documentation
- Component diagrams
- Data flow documentation
- Integration guides
Pattern 1: C# XML Documentation
/// <summary>
/// Saves or updates an employee entity.
/// </summary>
/// <remarks>
/// This command handles both create and update operations.
/// For new employees, the Id should be null or empty.
/// </remarks>
/// <example>
/// <code>
/// var command = new SaveEmployeeCommand
/// {
/// Name = "John Doe",
/// Email = "[email protected]"
/// };
/// var result = await handler.HandleAsync(command, cancellationToken);
/// </code>
/// </example>
public sealed class SaveEmployeeCommand : PlatformCqrsCommand<SaveEmployeeCommandResult>
{
/// <summary>
/// The unique identifier of the employee.
/// Null or empty for new employees.
/// </summary>
public string? Id { get; set; }
/// <summary>
/// The employee's full name.
/// </summary>
/// <value>Must be non-empty and max 200 characters.</value>
public string Name { get; set; } = string.Empty;
}
/// <summary>
/// Represents a unique expression for finding an employee.
/// </summary>
/// <param name="companyId">The company identifier.</param>
/// <param name="userId">The user identifier.</param>
/// <returns>An expression that matches the unique employee.</returns>
public static Expression<Func<Employee, bool>> UniqueExpr(string companyId, string userId)
=> e => e.CompanyId == companyId && e.UserId == userId;
Pattern 2: TypeScript JSDoc
/**
* Manages the feature list state and operations.
*
* @example
* ```typescript
* @Component({
* providers: [FeatureListStore]
* })
* export class FeatureListComponent {
* constructor(private store: FeatureListStore) {
* store.loadItems();
* }
* }
* ```
*/
@Injectable()
export class FeatureListStore extends PlatformVmStore<FeatureListState> {
/**
* Loads items from the API with current filters.
*
* @remarks
* This effect automatically tracks loading state under the key 'loadItems'.
* Use `isLoading$('loadItems')` to check loading status.
*
* @see {@link FeatureApiService.getList}
*/
public loadItems = this.effectSimple(() => /* ... */);
/**
* Updates the filter criteria and resets to first page.
*
* @param filters - Partial filter object to merge with current filters
*
* @example
* ```typescript
* // Filter by status
* store.setFilters({ status: FeatureStatus.Active });
*
* // Filter by search text
* store.setFilters({ searchText: 'keyword' });
* ```
*/
public setFilters(filters: Partial<FeatureFilters>): void {
// ...
}
}
/**
* Represents a feature entity from the API.
*/
export interface FeatureDto {
/** Unique identifier */
id: string;
/** Display name of the feature */
name: string;
/**
* Current status of the feature.
* @default FeatureStatus.Draft
*/
status: FeatureStatus;
}
Pattern 3: API Endpoint Documentation
/// <summary>
/// Employee management endpoints.
/// </summary>
[ApiController]
[Route("api/[controller]")]
[PlatformAuthorize]
public class EmployeeController : PlatformBaseController
{
/// <summary>
/// Retrieves a paginated list of employees.
/// </summary>
/// <param name="query">Query parameters for filtering and pagination.</param>
/// <returns>Paginated list of employees.</returns>
/// <response code="200">Returns the employee list.</response>
/// <response code="400">Invalid query parameters.</response>
/// <response code="401">Unauthorized - authentication required.</response>
/// <response code="403">Forbidden - insufficient permissions.</response>
[HttpGet]
[ProducesResponseType(typeof(GetEmployeeListQueryResult), StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status400BadRequest)]
public async Task<IActionResult> GetList([FromQuery] GetEmployeeListQuery query)
=> Ok(await Cqrs.SendAsync(query));
/// <summary>
/// Creates or updates an employee.
/// </summary>
/// <param name="command">Employee data to save.</param>
/// <returns>The saved employee.</returns>
/// <response code="200">Employee saved successfully.</response>
/// <response code="400">Validation failed.</response>
/// <response code="404">Employee not found (for updates).</response>
[HttpPost]
[ProducesResponseType(typeof(SaveEmployeeCommandResult), StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ValidationProblemDetails
Установить tasks-documentation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл tasks-documentation?
Use for WRITING documentation with ready-to-use code templates (C# XML docs, TypeScript JSDoc, API docs, README patterns). Best for implementing actual documentation, adding code comments, and creating docs from scratch. NOT for documentation planning (use documentation instead).
Как установить скилл tasks-documentation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tasks-documentation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic