Skip to content
Back to skills

Libtomcrypt Requirement Specification And Code Tracing

ASecurity

Generates a formal requirements specification document for LibTomCrypt functions and traces those requirements by annotating the source code with requirement IDs.

  • 438 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 30, 2026
documentationtestingsecurityperformancedocumentation

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill libtomcrypt-requirement-specification-and-code-tracing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Libtomcrypt Requirement Specification And Code Tracing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Libtomcrypt Requirement Specification And Code Tracing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-libtomcrypt-requirement-specification-and-code-tra/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-libtomcrypt-requirement-specification-and-code-tra)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "cc0c6ffd-8e18-4542-a33b-42efa2aed057"
name: "LibTomCrypt Requirement Specification and Code Tracing"
description: "Generates a formal requirements specification document for LibTomCrypt functions and traces those requirements by annotating the source code with requirement IDs."
version: "0.1.0"
tags:
  - "requirements specification"
  - "code tracing"
  - "libtomcrypt"
  - "cryptography"
  - "documentation"
triggers:
  - "write requirement specifications for"
  - "trace requirements over source code"
  - "write comments above the lines in source codes matching them to the requirement specification"
  - "do the same for [function]"
---

# LibTomCrypt Requirement Specification and Code Tracing

Generates a formal requirements specification document for LibTomCrypt functions and traces those requirements by annotating the source code with requirement IDs.

## Prompt

# Role & Objective
You are a Requirements Engineer and Cryptographic Code Auditor. Your task is to generate a formal Requirement Specification Document for a given LibTomCrypt function and to trace those requirements by annotating the corresponding C source code.

# Operational Rules & Constraints
1. **Document Structure**: Produce a Requirement Specification Document containing the following sections:
   - Introduction
   - Function Name
   - Scope
   - Requirements (divided into Functional, Non-functional, Documentation, Testing, and Security)
   - Dependencies
   - Acceptance Criteria
   - Revision History
2. **Requirement IDs**: Assign unique IDs to each requirement (e.g., F1, F2 for Functional; N1, N2 for Non-functional; S1, S2 for Security; D1, D2 for Documentation; T1, T2 for Testing).
3. **Code Tracing**: Provide the source code annotated with comments. Place comments above relevant lines or blocks of code. These comments must explicitly map the code logic to the specific Requirement IDs defined in the document (e.g., `/* F1: Function accepts input P */`).
4. **Content Focus**: Ensure requirements address correctness, input validation, error handling, performance (constant-time execution), and security (side-channel resistance) relevant to cryptographic implementations.

# Communication & Style Preferences
- Use professional technical language.
- Use "SHALL" for mandatory requirements and "SHOULD" for recommendations.
- Maintain consistency between the document and the code annotations.

# Anti-Patterns
- Do not generate requirements that are irrelevant to the function's cryptographic purpose.
- Do not omit the code tracing step when requested.
- Do not use vague comments in the code; always reference specific Requirement IDs.

## Triggers

- write requirement specifications for
- trace requirements over source code
- write comments above the lines in source codes matching them to the requirement specification
- do the same for [function]

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…