cangjie-std-convert

Parse strings into primitive types and convert numbers between radices in Cangjie.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-std-convert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cangjie-std-convert
Source: https://github.com/SunriseSummer/CangjieDocValidator/tree/main/.github/skills/convert
Command: npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-std-convert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the process of converting data between different types, particularly when dealing with string representations of numbers, booleans, and characters, as well as performing radix-based conversions.

Core Features & Use Cases

  • String Parsing: Safely parse strings into various primitive types (Int, Float, Bool, Rune) using Parsable.
  • Radix Conversion: Convert numbers to and from strings in different bases (binary, octal, hexadecimal, etc.) using RadixConvertible.
  • Use Case: Convert user input strings into integers for calculations, or display numerical data in a specific base like hexadecimal for memory addresses.

Quick Start

Use the cangjie-std-convert skill to parse the string "12345" into an Int64.

Frequently Asked Questions about cangjie-std-convert

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

FAQPage Schema
How do I parse a string into primitive types like integers and booleans in Cangjie?

To parse a string into primitive types in Cangjie, you use the `Parsable` utility to safely convert string representations into Int, Float, Bool, or Rune data types for calculations and logic operations.

What is the best way to convert numbers to different radix string representations in Cangjie?

The best way to convert numbers to radix string representations in Cangjie is using `RadixConvertible`, which enables converting numbers to and from strings in various bases like binary, octal, and hexadecimal.

Does Cangjie support hexadecimal and binary string conversion for displaying memory addresses?

Yes, Cangjie supports hexadecimal and binary string conversion for memory addresses through radix-based utilities, allowing you to easily display numerical data in specific bases like hexadecimal.

Can I use this utility to convert user input strings into integers for calculations?

Yes, you can use this utility to convert user input strings into integers for calculations, addressing common data transformation needs by safely parsing the input strings into Int64 types.

When do I need to perform radix conversion in application development?

You need to perform radix conversion in application development when transforming numerical data into specific base representations, such as displaying memory addresses in hexadecimal or parsing binary input strings.