Fake Skill

A deliberately stale skill used to exercise the auditor.

paulgrape 0ef2c29 507 B Updated

File contents

Data fetching and state

Fetch data on the server with getServerSideProps, then navigate:

import { useRouter } from 'next/router'
import { createStore } from 'redux'

export async function getServerSideProps() {
  return { props: {} }
}

export function Page() {
  const router = useRouter()
  const store = createStore(() => ({}))
  return null
}

Use next for routing and redux for state.

paulgrape/skill-auditor/tree/main/fixtures/fake-skill commit 0ef2c29f2b

Frequently asked questions

npx skillmds@latest add paulgrape/fake-skill