timeline-items
Skill by pwntester
Guides an assistant through adding or changing timeline items for issues and pull requests in the octo Lua codebase. It covers the fragment and writer registries and GHES compatibility gating. Written for contributors to that project.
Install timeline-items
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pwntester/octo.nvim /tmp/octo.nvim && mkdir -p ~/.claude/skills && cp -r /tmp/octo.nvim/.agents/skills/timeline-items ~/.claude/skills/timeline-itemsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pwntester/octo.nvim /tmp/octo.nvim && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/octo.nvim/.agents/skills/timeline-items ~/.gemini/antigravity-cli/skills/timeline-itemsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill documents how timeline items for issues and pull requests are defined, registered and rendered in the octo Lua codebase. It explains where the GraphQL types live (IssueTimelineItems and PullRequestTimelineItems) and which files usually change. It also describes the fragment registry and the writer dispatch registry added under issue #1365.
The steps cover defining a fragment in lua/octo/gh/fragments.lua, seeding it with an optional condition, adding a writer in lua/octo/ui/writers.lua, and updating scripts/example-timeline.lua for debugging. It also lists events known to be incompatible with GitHub Enterprise Server and how to gate new types. It is aimed at developers who add or change timeline events in that project.
Written from the project's SKILL.md and checked against it.
What it can do
- Locate timeline item typesPoints to the IssueTimelineItems and PullRequestTimelineItems GraphQL types.
- Register timeline fragmentsExplains register_issue_timeline_item and register_pull_request_timeline_item with optional conditions.
- Register timeline writersShows how to map an event type to a direct writer or a batch key.
- Gate GHES-incompatible eventsLists known fragments unavailable on GHES and how to add a condition.
- Update the debug timelineDescribes adding a sample event to scripts/example-timeline.lua.
- Find previous implementationsExplains using the timelineItems label to find similar closed pull requests.
Try asking
- Walk me through adding a new timeline item fragment for an event type.
- Which timeline fragments need a GHES compatibility condition?
- How do I register a custom timeline item before setup runs?
Good to know
- Registrations must happen before require("octo").setup() is called.
- Accumulator arrays must be cleared in place, not rebound.
- Covers changes to the octo Lua codebase only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/timeline-items/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to timeline-items
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
timeline-items: common questions
What GraphQL types hold timeline items for issues and pull requests?
The source names IssueTimelineItems and PullRequestTimelineItems as the GraphQL locations for these items.
Which timeline fragments are known to be missing on GitHub Enterprise Server?
The source lists issue fragments such as PinnedEvent and TransferredEvent, and pull request fragments such as BaseRefChangedEvent and ConvertToDraftEvent, with related issue numbers.
Do queries.lua and mutations.lua need edits for new timeline items?
No. The source says the registry and get_*_timeline_definitions() append definitions automatically.
How do I install timeline-items?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is timeline-items free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is timeline-items safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to timeline-items?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
