sanying

sanying

Corpus Hub contributor since 2026-11-08

sanying's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
8files
335lines
★ 1GitHub stars on repo

Totals across every corpus @sanyin appears in; a commit selected for two corpora counts once. Files and lines count the selected commits; each corpus indexes the whole repository at its pinned commit.

What an agent can do with the prompt-funnel corpus

sanyin/prompt-funnel: prompt is all you need

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository sanyin/prompt-funnel with XERJ (https://hub.xerj.org/corpus/sanyin--prompt-funnel).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/sanyin/prompt-funnel prompt-funnel && git -C prompt-funnel checkout 374e907212cd0adc62f1a095dd2798adc1629390
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./prompt-funnel --url http://127.0.0.1:9200 --prefix prompt-funnel --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

corpus sanyin--prompt-funnel · API design and specification
Related corpora: spectral, ibm-openapi-validator, msft-api-guidelines, grpc-gateway
Search an OpenAPI spec from an agent · Case study: reference coding for agents

Selected work

GitHub ★ 1

sanyin/prompt-funnel

374e907212 feat: let people answer in their own words
selected commit: 8 files · 335 lines · TypeScript, JavaScript · playground, src, test

The corpus is the whole repository at the pinned commit, not only the files of the selected commit.

live on the hub · licence clearedcorpus sanyin--prompt-funnelAPIMIT agreed 2026-11-08
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/sanyin/badge.svg)](https://hub.xerj.org/contributors/sanyin)

Included with the author's permission (email, 2026-11-08), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.