analyze-source

Analyze C source code for Amiga portability blockers and generate a structured porting report.

30|2|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/bdgscotland/amiport --skill analyze-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-source
Source: https://github.com/bdgscotland/amiport/tree/main/.claude/skills/analyze-source
Command: npx skills add https://github.com/bdgscotland/amiport --skill analyze-source

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Analyze C source code to identify Amiga portability blockers and provide an actionable porting plan.

Core Features & Use Cases

  • Scans C source trees to identify POSIX headers, system calls, and language features that hinder porting to AmigaOS 3.x.
  • Generates a structured porting report with tiered guidance (shim/emulation/redesign) to prioritize remediation.
  • Use cases include evaluating a new port, planning refactors for existing code, and delivering a reproducible assessment to stakeholders.

Quick Start

Run the analyzer on the project source tree to produce a porting report.

Frequently Asked Questions about analyze-source

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

FAQPage Schema
How do I check C source code for AmigaOS portability issues?

To check C source code for AmigaOS portability issues, scan the source tree to identify POSIX headers, system calls, and language features that hinder porting to AmigaOS 3.x. This generates a structured porting report classifying issues for remediation.

What is the best way to identify POSIX-specific usage blocking an Amiga port?

Identifying POSIX-specific usage blocking an Amiga port involves analyzing the C codebase to flag system calls and headers incompatible with AmigaOS 3.x. The analysis provides a structured porting report to prioritize remediation efforts accurately.

Does this Amiga porting analyzer classify issues by severity or remediation effort?

Yes, the Amiga porting analyzer classifies identified portability issues by tiered guidance according to ADR-008. It categorizes blockers into shim, emulation, or redesign classifications, helping prioritize refactoring efforts across large codebases.

How do I generate a port-readiness assessment for a large C codebase?

Generate a port-readiness assessment for a large C codebase by running the analyzer across the entire source tree. It targets new port initiatives, flags system incompatibilities, and delivers a reproducible assessment report to stakeholders.

Can I evaluate source code for Amiga 3.x compatibility before starting a new port?

Yes, you can evaluate source code for Amiga 3.x compatibility before starting a new port. The analyzer targets new port initiatives and assesses port-readiness by scanning headers, system calls, and language features across the codebase.

What are the limitations when scanning C source trees for AmigaOS porting risks?

Limitations when scanning C source trees for AmigaOS porting risks include its strict focus on C language features, POSIX headers, and system calls. It targets AmigaOS 3.x specifically and provides tiered remediation guidance rather than automated code fixes.