add-calendar-system

Add a calendar or timekeeping system to the Library of Time.

26|6|Updated Apr 14, 2024
One-click install
npx skills add https://github.com/CodapopKSP/LibraryOfTime --skill add-calendar-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-calendar-system
Source: https://github.com/CodapopKSP/LibraryOfTime/tree/main/.cursor/skills/add-calendar-system
Command: npx skills add https://github.com/CodapopKSP/LibraryOfTime --skill add-calendar-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Adding a new calendar or timekeeping system to the Library of Time involves many manual steps across documentation, data generation, API implementation, UI integration, and testing. This skill consolidates those steps into a clear, repeatable workflow, reducing errors and development time.

Core Features & Use Cases

  • Guides creation of a Docs stub with the required sections and table formats.
  • Automates regeneration of the node data file to register the new node.
  • Provides a template for a stub main function in the appropriate CalendarAPI file.
  • Shows how to wire the new node into the update scripts and calendar view for UI display.
  • Includes instructions for adding scaffolded tests and linking them into the test runner.
  • Ideal for developers extending the site with solar, lunar, lunisolar, or custom timekeeping systems.

Quick Start

Use the add-calendar-system skill to create the docs entry, regenerate node data, and wire the new calendar into the site.

Frequently Asked Questions about add-calendar-system

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

FAQPage Schema
How do I add a new calendar system to an existing Node.js project?

Adding a new calendar system requires orchestrating documentation, node data regeneration, API function stubbing, UI wiring, and test scaffolding. This skill consolidates those steps into a repeatable workflow without manual code edits.

How do I generate API stubs and node data for a lunisolar calendar?

Generating API stubs and node data for a lunisolar calendar involves creating a documentation entry, regenerating the node data file, and stubbing a main function in the appropriate CalendarAPI file automatically.

What is the best way to scaffold tests for a custom timekeeping system?

The best way to scaffold tests for a custom timekeeping system is to use an automated skill that adds scaffolded tests and links them directly into the test runner.

Can I use this workflow to integrate a solar calendar into the UI view?

Yes, you can integrate a solar calendar into the UI view because the workflow specifically wires the new node into the update scripts and calendar view for UI display.

Does adding a calendar system require manual edits to documentation and test files?

Adding a calendar system does not require manual edits because the skill guides the creation of a Docs stub with required sections and automates test scaffolding and test runner linking.