Agent skill

Pharmacy Dev

by hmislk in hmislk/hmis

Pharmacy module development guide for the HMIS project. An agent skill from hmislk/hmis.

GPL-3.0Auto-check passedDocuments & Office

Install Pharmacy Dev

skills CLI
$ npx skills add hmislk/hmis --skill pharmacy-dev -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hmislk/hmis pharmacy-dev --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hmislk/hmis.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/pharmacy-dev .claude/skills/pharmacy-dev && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pharmacy-dev
GitHub stars
236
Token cost
~910 tokens
SKILL.md length
276 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
GPL-3.0

At a glance

Pharmacy module development guide for the HMIS project. An agent skill from hmislk/hmis.

  • Working on pharmacy features including GRN
  • SKILL.md covers Key Documentation, Configuration Options, Common Patterns and GRN Report Testing, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Purchase orders

What it does

Pharmacy Dev is an agent skill from hmislk/hmis. Pharmacy module development guide for the HMIS project. Use when working on pharmacy features including GRN, purchase orders, stock transfers, disbursements, retail sales, pharmacy reports, stock management, item substitution, or pharmacy billing workflows.

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Forms and invoices. The repository describes itself as: This is an Open Source Java EE based Hospital Information Management System. The licence is GPL-3.0.

When your agent uses it

  • Working on pharmacy features including GRN
  • Purchase orders
  • Stock transfers
  • Pharmacy reports

Example prompts

  • “/pharmacy-dev”

What it can do on your machine

Read from SKILL.md and the folder at commit d5d2020. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pharmacy Dev loads about 910 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 276 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~910

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hmislk/hmis at commit d5d2020, republished under its GPL-3.0 licence (© hmislk). 276 words, ~910 tokens.

Download SKILL.mdSave it as .claude/skills/pharmacy-dev/SKILL.md (or your agent's skills folder).
name
pharmacy-dev
description
Pharmacy module development guide for the HMIS project. Use when working on pharmacy features including GRN, purchase orders, stock transfers, disbursements, retail sales, pharmacy reports, stock management, item substitution, or pharmacy billing workflows.
user-invocable
true

Pharmacy Module Development Guide

Key Documentation

For detailed pharmacy development, refer to these files:

Configuration Options

Pharmacy uses configOptionApplicationController.getBooleanValueByKey() for feature toggles. Key patterns:

  • Pharmacy Transfer is by Purchase Rate / Cost Rate / Retail Rate
  • Display Colours for Stock Autocomplete Items
  • Pharmacy Disbursement Reports - Display * (various column visibility)

Common Patterns

Stock Queries
  • Always include s.retired = false and s.itemBatch.item.retired = false
  • Filter inactive items with s.itemBatch.item.inactive = false
  • Use DTOs for display, entities for business logic
Transfer Workflow
  • Transfer Request -> Transfer Issue -> Transfer Receive
  • Each step creates a Bill with appropriate BillType
  • Sign conventions matter for cost accounting
Retail Sale
  • Use StockDTO for autocomplete performance
  • Cache autocomplete results for converter
  • Defer expensive discount calculations

GRN Report Testing

When testing GRN / Direct Purchase report changes:

  • The ruhunu local database typically has richer GRN data than rh and is better for testing
  • Test URL: http://localhost:8080/rh/faces/reports/inventoryReports/grn.xhtml
  • Print view (navigated from grn.xhtml): grn_detailed_view.xhtml, grn_summary_view.xhtml
  • Key bill types: PHARMACY_GRN, PHARMACY_GRN_RETURN, PHARMACY_GRN_CANCELLED, PHARMACY_DIRECT_PURCHASE, PHARMACY_DIRECT_PURCHASE_REFUND, PHARMACY_DIRECT_PURCHASE_CANCELLED
  • PHARMACY_DIRECT_PURCHASE bills have null referenceBill — always null-guard before accessing bill.getReferenceBill()
  • Date/time formats in exports must use sessionController.getApplicationPreference().getLongDateTimeFormat() — never hardcode
  • Excel/PDF filenames must not contain colons — use getLongDateFormat() (not datetime) and sanitize with .replaceAll("[: /]", "_")

Backward Compatibility

  • Never "fix" purcahseRate spelling - it's a database column name
  • Never rename composite components without checking ALL usage

© hmislk, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/pharmacy-dev of hmislk/hmis.

Open the folder on GitHubat commit d5d2020

Compare with similar skills

Pharmacy Dev next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pharmacy Dev compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pharmacy Dev this skillhmislk/hmis236—~910Automated safety check: PassGPL-3.0
Invoice Systemkazukinagata/shinkoku364—~778Automated safety check: PassMIT
Ar AgingWellApp-ai/Well345—~532Automated safety check: PassMIT
Clients Accountssickn33/agentic-awesome-skills47k1 repos~4.7kAutomated safety check: PassMIT
Payments Receivedsickn33/agentic-awesome-skills47k1 repos~3.5kAutomated safety check: PassMIT
Reading Invoicekazukinagata/shinkoku364—~525Automated safety check: PassMIT

Similar skills

  • Invoice System

    kazukinagata/shinkoku

    This skill should be used when the user asks about the invoice system (インボイス制度), qualified invoices (適格請求書), registration numbers (登録番号), input tax credits (仕入税額控除), the 20% special measure (2割特例)…

    364 GitHub stars~778 tokensUpdated 29 days ago
    Documents & OfficeAuto-check passed
  • Ar Aging

    WellApp-ai/Well

    Produce an accounts-receivable aging report and surface overdue invoices for a Well workspace.

    345 GitHub stars~532 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Clients Accounts

    sickn33/agentic-awesome-skills

    Client and account register: contacts, billing address, tax ID and basis, payment terms, invoice totals, amounts paid and outstanding balance.

    47k GitHub starsUsed in 1 repo~4.7k tokens
    Documents & OfficeAuto-check passed
  • Payments Received

    sickn33/agentic-awesome-skills

    Payments received log: reference, client and invoice, amount and currency, payment date and method, withholding tax, bank account, received-by and receipt-sent status.

    47k GitHub starsUsed in 1 repo~3.5k tokens
    Documents & OfficeAuto-check passed
  • Reading Invoice

    kazukinagata/shinkoku

    請求書の画像を読み取り構造化データを返す. An agent skill from kazukinagata/shinkoku.

    364 GitHub stars~525 tokensUpdated 29 days ago
    Documents & OfficeAuto-check passed
  • Fee Billing

    JoelLewis/finance_skills

    Build and manage advisory fee billing operations from fee schedule design through calculation, collection, revenue recognition, and compliance disclosure.

    205 GitHub stars~6.8k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed

More from hmislk/hmis

All 33 skills in this repo
  • API Usage

    hmislk/hmis

    Reference for calling existing HMIS REST APIs. An agent skill from hmislk/hmis.

    236 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Application configuration options reference for the HMIS project.

    236 GitHub stars~474 tokensUpdated today
    Auto-check passed
  • Caveman

    hmislk/hmis

    Ultra-compressed communication mode. An agent skill from hmislk/hmis.

    236 GitHub starsUsed in 21 repos~946 tokens
    Auto-check passed
  • Database Guide

    hmislk/hmis

    MySQL database development guide for the HMIS project. An agent skill from hmislk/hmis.

    236 GitHub stars~664 tokensUpdated today
    Auto-check passed
  • Demo Video

    hmislk/hmis

    A skill your agent uses when asked to make a demo, training, how-to or tutorial video with sound or voice-over showing an HMIS function or configuration (e.g.

    236 GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Deploy QA

    hmislk/hmis

    Sync development into QA/testing environment branches (QA1-QA4, local RH staging) via PR + merge on GitHub.

    236 GitHub stars~2.1k tokensUpdated today
    Auto-check: notes

Questions about Pharmacy Dev

What does Pharmacy Dev do?

Pharmacy module development guide for the HMIS project. An agent skill from hmislk/hmis. Pharmacy Dev is an agent skill from hmislk/hmis. Pharmacy module development guide for the HMIS project.

When should I use Pharmacy Dev?

Pharmacy Dev fits situations like: working on pharmacy features including GRN; purchase orders; stock transfers; pharmacy reports.

How do I install Pharmacy Dev in Claude Code?

Run `npx skills add hmislk/hmis --skill pharmacy-dev -a claude-code`. Or copy the skill folder (.codex/skills/pharmacy-dev in hmislk/hmis) into .claude/skills/pharmacy-dev in your project. Claude Code loads it when a task matches its description.

How do I install Pharmacy Dev in Codex?

Run `npx skills add hmislk/hmis --skill pharmacy-dev -a codex`. Or copy the skill folder (.codex/skills/pharmacy-dev in hmislk/hmis) into .agents/skills/pharmacy-dev in your project. Codex loads it when a task matches its description.

Can I use Pharmacy Dev in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hmislk/hmis --skill pharmacy-dev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pharmacy-dev, .gemini/skills/pharmacy-dev, .github/skills/pharmacy-dev and .opencode/skills/pharmacy-dev in your project.

What does Pharmacy Dev need to run?

SKILL.md names no scripts, command-line tools or credentials: Pharmacy Dev is instructions for the agent only.

Does Pharmacy Dev access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pharmacy Dev safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pharmacy Dev use?

Pharmacy Dev is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pharmacy Dev use?

About 910 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pharmacy Dev?

Skills that share tags, products or a category with Pharmacy Dev: Invoice System (kazukinagata/shinkoku, 364 stars), Ar Aging (WellApp-ai/Well, 345 stars), Clients Accounts (sickn33/agentic-awesome-skills, 47k stars) and Payments Received (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pharmacy Dev?

hmislk (a GitHub organization) maintains it in hmislk/hmis, which has 236 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 8, 2026.

Source: hmislk/hmis on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.