Publish wiki

From hmislk/hmis · View interactive version

Publish wiki is an AI agent skill from the GitHub repository hmislk/hmis. Publish pending changes in the sibling hmis.wiki repository to GitHub. Use when wiki documentation has been created or edited in the sibling ../hmis.wiki directory and needs to be committed and pushed to https://github.com/hmislk/hmis/wiki.

How to use this skill

Skill file

Publish to GitHub Wiki

Commit and push pending changes in the sibling ../hmis.wiki repository to the GitHub Wiki.

IMPORTANT: Wiki files live ONLY in the sibling ../hmis.wiki directory. Do NOT create wiki markdown files inside the main project repository (no wiki-docs/ folder) - this causes git submodule issues.

Steps

  1. Check if sibling wiki directory exists:

```bash

test -d "../hmis.wiki" && echo "EXISTS" || echo "NOT_FOUND"

```

  1. If NOT_FOUND, clone the wiki repo:

```bash

cd .. && git clone https://github.com/hmislk/hmis.wiki.git && cd hmis

```

  1. Pull latest changes:

```bash

cd ../hmis.wiki && git pull origin master

```

  1. Check for pending changes:

```bash

cd ../hmis.wiki && git status

```

  1. If there are changes, commit and push:

```bash

cd ../hmis.wiki

git add .

git commit -m "Add/update wiki documentation

Co-Authored-By: Codex <noreply@openai.com>"

git push origin master

```

  1. Report published pages with wiki URLs: https://github.com/hmislk/hmis/wiki/Page-Name

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.