Skip to content

gemmology-dev/gemmology-knowledge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Gemmology Knowledge

License: CC BY-SA 4.0

FGA curriculum documentation and study materials for the Gemmology Project.

This repository contains comprehensive reference documentation covering the Gemmological Association of Great Britain (Gem-A) Foundation and Diploma curriculum topics, organized as modular knowledge bases that integrate with the gemmology-plugin for Claude Code.

Overview

The Gemmology Knowledge repository serves as the authoritative reference library for coloured gemstone expertise. It provides:

  • 13 Knowledge Modules covering core gemmological topics
  • Quick Reference Sheets for rapid data lookup
  • Study Guides aligned with FGA Foundation and Diploma courses
  • Glossary of gemmological terminology

All content is designed to be both human-readable documentation and machine-consumable knowledge for AI-assisted gem identification and education.

Knowledge Modules

The skills/ directory contains 13 comprehensive knowledge modules:

Module Description
physical-properties/ Hardness (Mohs scale), specific gravity, crystal systems, cleavage, fracture, and lustre
optical-properties/ Refractive index, birefringence, pleochroism, dispersion, and spectroscopy
chemical-properties/ Chemical composition, chromophores, trace elements, and colour causes
inclusions-fingerprints/ Internal features, diagnostic inclusions, growth patterns, and fingerprint identification
gem-testing-instruments/ Refractometer, spectroscope, polariscope, dichroscope, Chelsea filter, UV lamp, and microscopy
treatments-enhancements/ Heat treatment, diffusion, filling, coating, irradiation, and treatment detection
synthetics-simulants/ Flame fusion, hydrothermal, flux growth, CVD/HPHT, and synthetic identification
gemstone-species/ Detailed profiles for 50+ gem species and varieties
grading-valuation/ Colour grading (hue, tone, saturation), clarity, cut quality, and value factors
gem-care-durability/ Stability, cleaning methods, setting recommendations, and storage
origin-determination/ Geographic origin characteristics, provenance, and origin premiums
phenomenal-gems/ Asterism, chatoyancy, adularescence, labradorescence, play of colour, and colour change
crystal-visualization/ CDL notation, crystal morphology, Miller indices, and 3D visualization

Repository Structure

gemmology-knowledge/
├── skills/                    # 13 knowledge modules
│   ├── physical-properties/
│   │   ├── SKILL.md          # Main skill definition
│   │   └── references/       # Supporting reference files
│   │       ├── hardness-scale.md
│   │       ├── specific-gravity.md
│   │       ├── crystal-systems.md
│   │       └── cleavage-fracture.md
│   ├── optical-properties/
│   │   ├── SKILL.md
│   │   └── references/
│   ├── ... (other modules)
│   └── crystal-visualization/
├── quick-reference/           # Rapid lookup tables
│   ├── ri-table.md           # Refractive index reference
│   ├── sg-table.md           # Specific gravity reference
│   ├── hardness-comparison.md
│   └── spectrum-chart.md
├── study-guides/              # Course-aligned study materials
│   ├── fga-foundation/
│   └── fga-diploma/
├── glossary/
│   └── terms.md              # Gemmological terminology
├── docs/                      # Generated documentation site
├── scripts/
│   └── generate_docs.py      # Build docs from skills
├── .github/
│   └── workflows/
│       ├── docs.yml          # Documentation deployment
│       └── link-check.yml    # Internal link verification
├── README.md
├── LICENSE
└── CHANGELOG.md

Content Structure

Each knowledge module follows a consistent structure:

SKILL.md Format

---
name: Physical Properties
description: Use this skill when the user asks about...
triggers:
  - gemstone hardness
  - Mohs scale
  - specific gravity
  - cleavage
related_skills:
  - optical-properties
  - gem-testing-instruments
---

# Physical Properties

[Main content with sections, tables, and examples]

## References
- [Link to reference files]

YAML Frontmatter Fields

Field Description
name Human-readable module name
description When to activate this skill (trigger phrases)
triggers Keywords and phrases that invoke this module
related_skills Cross-references to other modules
status Content status: draft, review, complete
tags Categorization tags for filtering

Reference File Format

Reference files use Obsidian-compatible markdown with:

  • YAML frontmatter for metadata
  • Wiki-style links: [[Crystal Systems]]
  • Embedded images: ![[diamond.svg|300]]
  • LaTeX math: $$a_1 = a_2 = a_3$$
  • Tables for structured data

How to Add New Modules

1. Create the Module Directory

mkdir -p skills/new-module/references

2. Create the SKILL.md File

Create skills/new-module/SKILL.md with the required frontmatter:

---
name: New Module Name
description: Use this skill when the user asks about...
triggers:
  - keyword1
  - keyword2
related_skills:
  - existing-module
status: draft
---

# New Module Name

## Overview
[Introduction to the topic]

## Key Concepts
[Main content sections]

## Practical Applications
[How this knowledge is used]

## References
- [[reference-file-1]]
- [[reference-file-2]]

3. Add Reference Files

Create supporting reference files in the references/ subdirectory:

---
type: reference
module: new-module
topic: Specific Topic
status: draft
tags: [new-module, topic]
---

# Specific Topic

[Detailed content]

4. Update Related Modules

Add cross-references to existing modules that relate to your new content.

5. Test Links

Run the link checker to verify all internal links resolve:

./scripts/check-links.sh

6. Submit for Review

Create a pull request with your new module. Ensure:

  • All required frontmatter fields are present
  • Content follows the established style
  • Internal links are valid
  • Tables are properly formatted
  • Examples are accurate and helpful

Integration with gemmology-plugin

The knowledge modules in this repository integrate with the gemmology-plugin Claude Code plugin to provide:

Skills

Each module in skills/ corresponds to a Claude Code skill that can be invoked during conversations:

User: What causes the colour in ruby?
Claude: [Activates chemical-properties skill]
        Ruby's red colour is caused by chromium (Cr3+) substituting...

Automatic Activation

Skills are automatically activated based on trigger keywords in user queries. The triggers field in each SKILL.md defines the activation patterns.

Cross-Module References

Skills can reference each other to provide comprehensive answers:

User: How do I identify a natural ruby?
Claude: [Activates multiple skills: inclusions-fingerprints,
         treatments-enhancements, gem-testing-instruments]

Knowledge Retrieval

The plugin retrieves relevant content from reference files to provide accurate, curriculum-aligned information.

Website

The documentation site is deployed to knowledge.gemmology.dev.

Building Locally

# Generate documentation from skills
python scripts/generate_docs.py

# Preview the site (requires Jekyll or mkdocs)
cd docs && bundle exec jekyll serve
# or
mkdocs serve

Features

  • Full-text search across all modules
  • Interactive glossary with definitions
  • Progress tracking for study guides
  • Mobile-friendly responsive design

Contributing

We welcome contributions to improve and expand the knowledge base.

Content Guidelines

  1. Accuracy: All content should align with FGA curriculum and established gemmological standards
  2. Clarity: Write for both beginners and professionals
  3. Examples: Include practical examples and real-world applications
  4. Sources: Reference authoritative gemmological texts where appropriate
  5. Consistency: Follow the established format and style

Review Process

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request
  5. Address review feedback

Content is reviewed for:

  • Technical accuracy
  • Curriculum alignment
  • Writing quality
  • Proper formatting

Related Repositories

Repository Description
gemmology-plugin Claude Code plugin that consumes this knowledge
mineral-database Gemstone property database
cdl-parser Crystal Description Language parser
crystal-renderer Crystal visualization engine
gemmology.dev Main project website

License

This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).

You are free to:

  • Share — copy and redistribute the material in any medium or format
  • Adapt — remix, transform, and build upon the material for any purpose, even commercially

Under the following terms:

  • Attribution — You must give appropriate credit and indicate if changes were made
  • ShareAlike — If you remix or build upon the material, you must distribute your contributions under the same license

See LICENSE for full details.

Attribution

Content in this repository is based on the curriculum of the Gemmological Association of Great Britain (Gem-A) and other authoritative gemmological sources. This is an educational resource and is not affiliated with or endorsed by Gem-A.

Acknowledgements

  • Gem-A Foundation and Diploma curriculum
  • GIA Gemological Institute
  • CIBJO terminology standards
  • Contributing gemmologists and educators

Links

About

FGA curriculum documentation and study materials

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •