PostHog / PostHog/context-mill
Frontmatter support for all files
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 17
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 36
Description
Would be great to have frontmatter for each files include in the project Markdown file, so we can include descriptions and additional instructions or context
## src/pages/api/hello.ts
[description]
[tags]
```ts
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import type { NextApiRequest, NextApiResponse } from "next";
type Data = {
name: string;
};
export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>,
) {
res.status(200).json({ name: "John Doe" });
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files or tests are named. Start by locating the entry point that assembles the project Markdown file and inspect how individual files are represented; then determine how frontmatter fields such as descriptions, tags, and instructions should appear for every included file. Done means generated Markdown includes the requested metadata without breaking existing file content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, markdown
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100