suggest-specs

Identify code functions and modules that benefit from formal specification generation.

5|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/nicholls-inc/claude-code-marketplace --skill suggest-specs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: suggest-specs
Source: https://github.com/nicholls-inc/claude-code-marketplace/tree/main/crosscheck/skills/suggest-specs
Command: npx skills add https://github.com/nicholls-inc/claude-code-marketplace --skill suggest-specs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Developers often struggle to identify and formalize specifications for code functions, hindering the verification process and reducing code reliability.

Core Features & Use Cases

  • Specification Discovery: Analyzes code targets to propose candidate formal preconditions, postconditions, and invariants.
  • Target Selection and Scope: Determines functions or modules to analyze based on user input or recent changes.
  • Use Case: A developer provides a Python file, and this Skill suggests specifications that can be turned into verification tasks, improving code quality and documentation.

Quick Start

Provide a target function, file, or directory to analyze and generate specification proposals to guide formal verification efforts.

Frequently Asked Questions about suggest-specs

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

FAQPage Schema
How do I generate formal specifications from existing code?

To generate formal specifications from code, provide a target function, file, or directory for analysis. The Skill evaluates code structure, existing tests, and change history to propose candidate preconditions, postconditions, and invariants.

What is the best way to identify code functions that need formal verification?

Identifying code functions for formal verification involves analyzing code structure, existing tests, and change history. This Skill targets functions and modules with complex logic, proposing natural language specifications to improve reliability and testing.

Does this specification generation tool work with Python files?

Yes, specification generation works with Python files. You provide a Python file as input, and the Skill suggests formal specifications that can be turned into verification tasks, improving code quality and documentation.

How do I analyze code structure and change history to suggest preconditions and postconditions?

To suggest preconditions and postconditions, the Skill evaluates code targets based on structural analysis and recent changes. It uses this context to recommend relevant formal specifications that enhance verification and documentation.

When should I use natural language proposals for code documentation and verification?

Use natural language proposals for code documentation and verification when you need to formalize complex logic or improve code reliability. The Skill generates these proposals to guide formal verification efforts and enhance testing.